![]() |
RibbonBar |
Post Reply
|
| Author | |
sodind
Groupie
Joined: 16 March 2011 Status: Offline Points: 28 |
Post Options
Thanks(0)
Quote Reply
Topic: RibbonBarPosted: 11 April 2011 at 1:56pm |
|
Hello, I need help with RibbonBar. What did I do wrong? CXTPCommandBars * pCommandBars = GetCommandBars (); CXTPRibbonBar * pRibbonBar = (CXTPRibbonBar *) pCommandBars-> Add (_T ("Top"), xtpBarTop, RUNTIME_CLASS (CXTPRibbonBar)); CXTPRibbonTab * pTab1 = pRibbonBar-> AddTab (ID_EDIT); CXTPRibbonGroup * pGroup1 = pTab1-> Addgroup (_T ("Edit")); pGroup1-> Add (xtpControlButton, ID_EDIT_COPY); CXTPRibbonTab * pTab2 = pRibbonBar-> AddTab (_T ("ID_INSERT")); CXTPRibbonGroup * pGroup2 = pTab2-> Addgroup (_T ("Paste")); pGroup2-> Add (xtpControlButtonPopup, ID_INSERT_PASTE); CXTPRibbonTab * PMY = pRibbonBar-> AddTab (_T ("My")); CXTPRibbonGroup * pMyGroup = PMY-> Addgroup (_T ("MyGroup")); pMyGroup-> Add (xtpControlButton, ID_FIND); But I can see the group and the control buttons on pTab1 only, on the other tabs there is nothing. ![]() Thanks.
|
|
![]() |
|
sodind
Groupie
Joined: 16 March 2011 Status: Offline Points: 28 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 April 2011 at 8:45am |
|
Can you help me?
|
|
![]() |
|
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 |