News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

menu editing doesn't seem to work

Started by PowerMathDeveloper, September 08, 2008, 02:27:45 AM

Previous topic - Next topic

PowerMathDeveloper

I'm a newbie to CodeBlocks, so please be patient with me.

I went through all of the tutorials, but none of them mention how to edit the menus.

I'm trying to figure out how to manipulate the menubar by adding menuitems & menus.  I couldn't find a button for wxMenuItem, but did find wxMenuBar and wxMenu under the "tools" tab.

The new project wizard (wxWidgets project, using wxSmith, frame based) creates a menubar named MenuBar1 with menus File & Help.

On the resources panel, I select any menu or menuitem, click the wxMenu button under the tools tab and a wxMenu is created at the same level as the menubar, below the wxStatusBar.  I can't figure out how to move the newly created menu into the menubar.

If I click the wxMenuBar button, nothing happens, but thats what I expected since it already has a menubar.

I found this post in the forums:
"Any Tutorials On Creating Menus & Adding Menu Items Via wxSmith Exclusively"
http://forums.next.codeblocks.org/index.php/topic,8342.0.html

Then you can edit the MenuBar and its Menus and SubMenu and of course the MenuItems.
To create a new Menu (or MenuItem) just click new. With "<" and ">" you can move a Menu or a Menuitem one level higher or deeper.


But I don't see "new", "<" or ">".

Help!


Jenna

Double-click the Menubar-symbol in wxSmith and a dialog pops up.

PowerMathDeveloper

Thanks, I finally figured it out.  This is not at all intuitive.