![]() |
Add separator to Menu |
Post Reply ![]() |
Author | |
guywmustang ![]() Newbie ![]() Joined: 17 April 2006 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() Posted: 21 May 2007 at 3:13pm |
I am trying to add a separator to my menu. I have tried such things as:
pControls->Add(xtpControlTypeButton,ID_SEPARATOR) I have also tried creating a CMenu, appending a Separator to it, then calling: pControls->AddMenuitem(pMenu,0) Neither have worked. How do I append a separator to my menu? Either through use of AddMenuItem or Add functions? Thanks |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
try this:
pControls->GetAt(i)->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 |