Problem with Modeless dialogs
-
I have a derived CModeless Class form CDialog class which is used for creating modeless dialogs. I have derived 2 new dialog classes from the CModeless. I have opened the two dialogs since they are modeless. After OnOK of the dialog i must create the dialog again, for both the dialogs. but i am unable to see the dialog when OnOk button until the other dialog is closed. Can any one tell me the solution for the problem.
-
I have a derived CModeless Class form CDialog class which is used for creating modeless dialogs. I have derived 2 new dialog classes from the CModeless. I have opened the two dialogs since they are modeless. After OnOK of the dialog i must create the dialog again, for both the dialogs. but i am unable to see the dialog when OnOk button until the other dialog is closed. Can any one tell me the solution for the problem.
Why you can't send WM_CLOSE message to the other dialog before recreating it? BTW, why it's necessary to have CDialog->CModelessDialog>CXXXDailog/CYYYDialog?
-Sarath.
My blog - Sharing My Thoughts
Rate the answers and close your posts if it's answered