-
April 12th, 2013, 09:54 PM
#1
Handling CDialogs in MFC app
Hello All,
I have a MFC app developed in VS 6.0
User can open multiple dialogs in this app. Is there a way of keeping track of how many dialogs are open at a given time?
Also, is there a way of getting the handle to each dialog from a central location?
Because the dialogs are opened from different parts of the app, i.e., different files its hard to keep track of all dialogs.
Any sample code will help.
Thanks in advance.
-
April 13th, 2013, 12:43 AM
#2
Re: Handling CDialogs in MFC app
Originally Posted by krisguy76
User can open multiple dialogs in this app. Is there a way of keeping track of how many dialogs are open at a given time?
Also, is there a way of getting the handle to each dialog from a central location?
There would be, of course in case you organized the way.
Because the dialogs are opened from different parts of the app, i.e., different files its hard to keep track of all dialogs.
Nothing hard at all. You always can send some special message with dialog handle to your main window from your dialogs indicating dialog creation/destruction.
Best regards,
Igor
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
|