Re: CDialog minimize topic
Example for creating a modeless dialog:
http://www.codeproject.com/dialog/gettingmodeless.asp?df=100&forumid=3006&exp=0&select=1372923
To disable the parent I'd do something like:
CWnd *pWnd = GetParent();
if(pWnd)
pWnd->EnableWindow(false);
or
pWnd->EnableWindow(true);
Tom
"Yael" <Yael@discussions.microsoft.com> wrote in message
news:9EB6E180-0730-49F7-BB4E-FC851A44148E@microsoft.com...
Thank you,
Do you have an example for that???
"Tom Serface" wrote:
If you need to hide the dialog on occasion you should make it a non-model
or
modeless dialog and just hide that window. You can pop it back up any
time
you want. If you want to block the parent window you could simple
disable
it while the modeless dialog is "showed" and enable the main window when
the
user chooses to hide the dialog.
Tom
"Yael" <Yael@discussions.microsoft.com> wrote in message
news:B960663A-C9B4-4B82-B85D-1807EE75E3E4@microsoft.com...
Thank's,
So How can I fix this?