Print Page | Close Window

Add separator to Menu

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=7200
Printed Date: 19 April 2024 at 1:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add separator to Menu
Posted By: guywmustang
Subject: Add separator to Menu
Date 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



Replies:
Posted By: Oleg
Date Posted: 22 May 2007 at 1:00am
Hi,
 
try this:
pControls->GetAt(i)->SetBeginGroup(TRUE);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net