Hi developers!
I need your help. I can't create dialog window on Mac using ADM. It seems that problem with .r file. This is resource file Example.r:
resource 'DLOG' (kExamplePanelDialogID, kExamplePanelName, purgeable) {
{100, 200, 306, 406},
1991, // floatZoomGrowProc
visible,
goAway,
0x0,
kExamplePanelDialogID,
kExamplePanelName,
0x0 // noAutoCenter
};
And this is my ADM call function in the project:
admDialogRef = sADMDialog-%26gt;Create( message-%26gt;d.self,''My Example'', kExamplePanelDialogID, kADMTabbedFloatingDialogStyle, DlgInit, nil, 0 );
ASErr ASAPI DlgInit(ADMDialogRef dlg)
{
return noErr;
}
...
sADMDialog-%26gt;Show( admDialogRef, true);
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment