April 28th, 1999, 03:26 PM
I'm creating a modeless dialog but I don't want it to return immediately after the creation. In other words, I want it to behave like a modal one.
hDlgModeless = CreateDialog();
//I want the below portion of code to get executed only after the modeless dialog is disposed off....(by clicking OK and Cancel buttons..)
//code goes here
Is there any way of doing this...??? Due to some other restrictions, I cannot use a modal dialog in place of this. also , pls note, I'm doing this on 16-bit Win API. No MFC. No 32-bit.
Any help is greatly appreciated.
Thanx
Ram
hDlgModeless = CreateDialog();
//I want the below portion of code to get executed only after the modeless dialog is disposed off....(by clicking OK and Cancel buttons..)
//code goes here
Is there any way of doing this...??? Due to some other restrictions, I cannot use a modal dialog in place of this. also , pls note, I'm doing this on 16-bit Win API. No MFC. No 32-bit.
Any help is greatly appreciated.
Thanx
Ram