Print Page | Close Window

Persistent popup (like when customizing toolbars)

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=9623
Printed Date: 21 November 2024 at 9:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Persistent popup (like when customizing toolbars)
Posted By: znakeeye
Subject: Persistent popup (like when customizing toolbars)
Date Posted: 18 February 2008 at 5:43pm
When you customize the toolbar buttons, you see a popup menu which does not go away when you select/check items.
 
How do I set such behavior to my own menus? I have a popup menu with a lot of items that should not close the popup once they are selected...



Replies:
Posted By: Oleg
Date Posted: 19 February 2008 at 1:12am
Hi,
 
Call pControl->SetCloseSubMenuOnClick(FALSE);


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


Posted By: znakeeye
Date Posted: 19 February 2008 at 2:32am
I suppose this would work for popups too? I'm using XTContextMenu(). I believe I must use another method for this?
 
Thanks a lot!


Posted By: Oleg
Date Posted: 20 February 2008 at 1:45pm
Yes, it only works for popups. but you must manually create CXTPPopupBar and call it for each item.

-------------
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