|  | 
| Add separator to Menu | 
| Post Reply   | 
| Author | |
| guywmustang   Newbie   Joined: 17 April 2006 Status: Offline Points: 20 |  Post Options  Thanks(0)  Quote  Reply  Topic: Add separator to Menu 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   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 22 May 2007 at 1:00am | 
| 
   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 |