Print Page | Close Window

Set Disabled ImageList for CXTPToolbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=455
Printed Date: 23 December 2024 at 11:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Set Disabled ImageList for CXTPToolbar
Posted By: coradinibr
Subject: Set Disabled ImageList for CXTPToolbar
Date Posted: 20 February 2004 at 8:20am

Hi, I'm using XTPro and I'd like to set the "bitmap for disabled state " in my toolbar.

I've already used the bUseDisabledIcons from XTP_COMMANDBARS_ICONSINFO that automaticaly load an gray image and it works well, but it does not fit my intentions.

Since CXTPToolbar is not derived from CToolbar, I cannot send the TB_SETDISABLEDIMAGELIST message with the ImageList handle !

Is there any way in the Toolkit to do it ?

Thanks
Evandro Coradini
Principia Software




Replies:
Posted By: Oleg
Date Posted: 23 February 2004 at 11:14am
see CXTPImageManager::SetIcons

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