some noob questions re Command Bars Designer
Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17169
Printed Date: 28 November 2024 at 11:52pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: some noob questions re Command Bars Designer
Posted By: Chet Desmond
Subject: some noob questions re Command Bars Designer
Date 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
|
Replies:
Posted By: Chet Desmond
Date 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.
|
|