![]() |
How to add separator between xtpControlButtons ? |
Post Reply
|
| Author | |
Rebecca
Newbie
Joined: 17 October 2007 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: How to add separator between xtpControlButtons ?Posted: 25 October 2007 at 11:02pm |
|
How to add separator between ribbon buttons in the same RibbonGroup.
Thank you.
CXTPRibbonTab* pTabHome = pRibbonBar->AddTab(ID_TAB_HOME);
CXTPRibbonGroup* pGroupClipborad = pTabHome->AddGroup(ID_GROUP_CLIPBOARD);
pGroupClipborad->Add(xtpControlButton, ID_EDIT_COPY);
// I want to add a vertical separator here.
pGroupClipborad->Add(xtpControlButton, ID_FORMAT_PAINTER); |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 October 2007 at 1:34am |
|
Hi,
CXPTControl* pControl = pGroupClipborad->Add(xtpControlButton, ID_FORMAT_PAINTER);
pControl->SetBeginGroup(TRUE);
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |