![]() |
Command bars: Adding separators .. |
Post Reply ![]() |
Author | |
JerryEvans ![]() Groupie ![]() ![]() Joined: 01 May 2008 Location: United Kingdom Status: Offline Points: 39 |
![]() ![]() ![]() ![]() ![]() Posted: 02 May 2008 at 12:02pm |
How do I do this at runtime?
For example: pToolBarButtons->GetControls()->Add(xtpControlButton, ID_FILE_PRINT); // need a spacer here. but how? pToolBarButtons->GetControls()->Add(xtpControlButton, ID_EDIT_CUT); pToolBarButtons->GetControls()->Add(xtpControlButton, ID_EDIT_COPY); Thanks |
|
![]() |
|
Smucker ![]() Senior Member ![]() ![]() Joined: 02 February 2008 Status: Offline Points: 156 |
![]() ![]() ![]() ![]() ![]() |
pToolBarButtons->GetControls()->Add(xtpControlButton, ID_EDIT_CUT)->SetBeginGroup(TRUE);
|
|
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)
Platform: Windows 200x/XP/Vista/Win7 (32/64 bit) Language: Visual C++ 9.0 (Studio 2008) |
|
![]() |
|
JerryEvans ![]() Groupie ![]() ![]() Joined: 01 May 2008 Location: United Kingdom Status: Offline Points: 39 |
![]() ![]() ![]() ![]() ![]() |
Excellent.
Thx++. |
|
![]() |
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 |