Print Page | Close Window

Multiple select popup menus

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=2425
Printed Date: 06 October 2024 at 2:51am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Multiple select popup menus
Posted By: ruanjiandev
Subject: Multiple select popup menus
Date Posted: 21 June 2005 at 10:34am
how to create the menu like the "Add or remove Buttons", which allow to check/uncheck the multiple buttons without going off.




Replies:
Posted By: Oleg
Date Posted: 21 June 2005 at 2:01pm

in 9.61 was added:

CXTPControl::SetCloseSubMenuOnClick.



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


Posted By: ruanjiandev
Date Posted: 21 June 2005 at 10:47pm
But how about the tick beside image, is that a speical type of the CXTPControlPopup?
I want to build exactly the same popup control used in "Add or Remove Buttons" on toolbar as shown below.
I want to use it to control the ListCtrl columns.
Thanks,





Posted By: Oleg
Date Posted: 22 June 2005 at 3:19am

See source code of

CXTPToolBar::CXTPControlButtonCustomize

 

You must create custom control and override its

Draw, GetSize, OnExecute methods



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