-
February 16th, 2005, 09:58 AM
#1
CMenu related
I am created 3 dialog dynamically, with captions dialog1,dialog2,dialog3
my request is to add these dialog to Menu,
Here i am having IDC_MENU1 already, i want to add the three dialog boxes to this menu,
Programmatically i want to add these dialogs to the menu
-
February 16th, 2005, 10:06 AM
#2
Re: CMenu related
Originally Posted by ravirams
Here i am having IDC_MENU1 already, i want to add the three dialog boxes to this menu,
I don't see how dialog boxes could be added to a menu... Or do you mean that you want to display the dialog boxes when a command from the menu is selected? If this is the case, you must first add the menu items to the menu (using the menu resource editor), and then create command handlers for those items - the easiest way to do this is in ClassWizard. Inside these handlers, you display the dialog boxes - how you do this depends on whether you want them to behave as modal or modeless dialogs.
-
February 16th, 2005, 10:08 AM
#3
Re: CMenu related
I think he means add items to the Window menu when these dialogs are created and shown.
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
|