Print Page | Close Window

Add separator to Popup 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=22736
Printed Date: 24 November 2024 at 1:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add separator to Popup Menu?
Posted By: MichaelN
Subject: Add separator to Popup Menu?
Date Posted: 29 September 2015 at 7:50pm
How do I add a horizontal menu separator like ID_SEPARATOR to a popup menu? I add a control with that ID and get a blank "button" entry, not a horizontal line.

Michael



Replies:
Posted By: cpede
Date Posted: 01 October 2015 at 2:10am
You add pControl->SetBeginGroup(TRUE); to the control.




-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)


Posted By: MichaelN
Date Posted: 01 October 2015 at 2:42am
That works. Thank you very much!



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