Discussion:
VS2010 VC++ Dialog App
(too old to reply)
Ed
2011-08-17 02:36:07 UTC
Permalink
I am fairly new to VS2010.
How do I get the menu bar to show in my dialog and add items to it?
Thanks
Geoff
2011-08-17 06:52:19 UTC
Permalink
Post by Ed
I am fairly new to VS2010.
How do I get the menu bar to show in my dialog and add items to it?
Thanks
Open the .rc file in Resource View (crtl-shift-e). Add a menu
resource, it will open the menu editor where you can create your menu
items. Once the menu exists you can add it to the dialog properties in
the dialog editor and the menu resource ID will be browsable in the
properties pane.
Ed
2011-08-17 12:33:28 UTC
Permalink
Thank you
Now I have the "File" menu bar and I have added "Options" to the "File"
menu.
I have created an Options Dialog class, how do I get it to open when
clicking Options under File?
Post by Geoff
Post by Ed
I am fairly new to VS2010.
How do I get the menu bar to show in my dialog and add items to it?
Thanks
Open the .rc file in Resource View (crtl-shift-e). Add a menu
resource, it will open the menu editor where you can create your menu
items. Once the menu exists you can add it to the dialog properties in
the dialog editor and the menu resource ID will be browsable in the
properties pane.
Geoff
2011-08-17 23:51:41 UTC
Permalink
Post by Ed
Thank you
Now I have the "File" menu bar and I have added "Options" to the "File"
menu.
I have created an Options Dialog class, how do I get it to open when
clicking Options under File?
Add event handler and then develop the code to handle that event.
Loading...