Print Page | Close Window

How to change Bitmap of Toolbar Button?

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=8271
Printed Date: 13 November 2025 at 9:05pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to change Bitmap of Toolbar Button?
Posted By: prashant
Subject: How to change Bitmap of Toolbar Button?
Date Posted: 03 October 2007 at 1:52am
Hi Oleg,

Is there any method available for changing the bitmap image on Toolbar button?

Presently we are having ICON on toolbar button and now we want to replace that icon with BITMAP.

Thanks in advance.

Prashant.



Replies:
Posted By: Oleg
Date Posted: 03 October 2007 at 2:25am
Hello,
 
Just load this bitmap to image manager:
 
pCommandBars->GetImageManager()->SetIcons(...);
 
See description of CXTPImageManager


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


Posted By: prashant
Date Posted: 03 October 2007 at 2:37am
It worked, thanks 



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