First time using custom dialogs ...
I've created a custom Dialog in which I want the user to select a file and type in a name; this should be saved in registry.
First I have problems to display the dialog from Installscript:
nResult = EzDefineDialog (szDialogName, "", "", RES_DIALOG_ID);
nResult = WaitOnDialog( szDialogName );
szDialog contains the name of the dialog and RES_DIALOG_ID is an constant assigned from me because I couldn't find an id assigned to the dialog.
OK. First nResult = 0 and second time -1, WaitOnDialog fails.
Can anybody tell me what's wrong and how can I react on control states and get the content of the controls?