|
-
September 6th, 2012, 12:43 PM
#4
Re: A question regarding AFX_MANAGE_STATE
 Originally Posted by D_Drmmr
You should set the module state correctly before loading any resources from a DLL, so also before you create the second dialog.
That is exactly my question actually. In my case, Basically CMyDialog and CYourDialog exist in different module states. CMyDialog is not dismissed yet when CYourDialog needs to be launched. So in order to launch CYourDialog, I need to switch the module state from CMyDialog to CYourDialog. But I don't know what to do to achieve that. Any idea how to do that? Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|