how to create a modeless CDialog in MFC?
Hi,
I have been away from MFC for a while... I need to create a modeless CDialog subclass and I tried:
1 2 3
|
GenericGrid dlg;
dlg.Create(IDD_GenericGrid);
dlg.ShowWindow(SW_SHOW | SW_RESTORE);
| |
the dialog is not displayed!
IDD_GenericGrid is the resource template id.
What is going on?
Regards,
Juan
Topic archived. No new replies allowed.