Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - some noob questions re Command Bars Designer
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

some noob questions re Command Bars Designer

 Post Reply Post Reply
Author
Message
Chet Desmond View Drop Down
Groupie
Groupie


Joined: 27 August 2010
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Chet Desmond Quote  Post ReplyReply Direct Link To This Post Topic: some noob questions re Command Bars Designer
    Posted: 27 August 2010 at 5:54am
I'm a complete novice with the Codejock toolkit (currently using v13.1.0) and I'm trying to figure out how to put together some menus and toolbars for an MFC app. Later on we'll want a ribbon control too, but for now it's just menus and toolbars.

So I'm using the Command Bars Designer app. I'm trying to do some really basic stuff like add more menus, and add sub-menus to the existing menus. There's nothing in the documentation about this. By looking at the raw XML I think I've figured out how to add menus (but editing XML seems to defeat the purpose of a designer!). Am I missing something obvious? Adding sub-menus though is currently beyond me.

Can anyone point me in the right direction? The documentation seems incomplete, so are there any decent articles, tutorials etc which explain all of this stuff?

All help appreciated. Again, I'm a complete Codejock novice so try not to assume too much prior knowledge
Back to Top
Chet Desmond View Drop Down
Groupie
Groupie


Joined: 27 August 2010
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Chet Desmond Quote  Post ReplyReply Direct Link To This Post Posted: 27 August 2010 at 11:52am
After some digging around, I realise I was getting the wrong end of the stick! Everything on the menu bar is a control - 'menus' and 'sub-menus' just being pop-up controls.

To add a menu, or sub-menu, just create a control with the xtpControlPopup style and the Built-in Menus category. The drag that control onto the menu bar and it's job done!

Just need to think in terms of controls and it all falls into place.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.