some noob questions re Command Bars Designer |
Post Reply |
Author | |
Chet Desmond
Groupie Joined: 27 August 2010 Status: Offline Points: 11 |
Post Options
Thanks(0)
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 |
|
Chet Desmond
Groupie Joined: 27 August 2010 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |