Modeless Dialog
-
Hi, I want to open 2 dialogs at a time.For first one, im using domodal function. Inside the first dialog,im calling create function to open second dialog. the code is executed successfully.Is not showing any error. while running the application,its not showing the second dialog.Can anyone please tell me whether this procedure is correct? Thanks,
modified on Thursday, January 7, 2010 2:06 AM
-
Hi, I want to open 2 dialogs at a time.For first one, im using domodal function. Inside the first dialog,im calling create function to open second dialog. the code is executed successfully.Is not showing any error. while running the application,its not showing the second dialog.Can anyone please tell me whether this procedure is correct? Thanks,
modified on Thursday, January 7, 2010 2:06 AM
from where you invoking second dialog? if you are invoking second modeless dialog box after first one, then it not going to work as DoModal is modal call.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
from where you invoking second dialog? if you are invoking second modeless dialog box after first one, then it not going to work as DoModal is modal call.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
Hi, I want to open 2 dialogs at a time.For first one, im using domodal function. Inside the first dialog,im calling create function to open second dialog. the code is executed successfully.Is not showing any error. while running the application,its not showing the second dialog.Can anyone please tell me whether this procedure is correct? Thanks,
modified on Thursday, January 7, 2010 2:06 AM
Check if "visible" is true for your second dialog's resource (properties panel in resource editor), if no, then set it to true and try, if that for some reason doesn't work, then call ShowWindow(SW_SHOW) on your second dialog after creating it. Does this help?
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
Hi, I want to open 2 dialogs at a time.For first one, im using domodal function. Inside the first dialog,im calling create function to open second dialog. the code is executed successfully.Is not showing any error. while running the application,its not showing the second dialog.Can anyone please tell me whether this procedure is correct? Thanks,
modified on Thursday, January 7, 2010 2:06 AM