Print Page | Close Window

How do change toolbar icons dynamically?

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=1334
Printed Date: 06 November 2025 at 8:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How do change toolbar icons dynamically?
Posted By: jeffcmj
Subject: How do change toolbar icons dynamically?
Date Posted: 28 October 2004 at 1:05am
I have 5 toolbars and want to change their icons at runtime. The icon size may also changed. How to make it?



Replies:
Posted By: Oleg
Date Posted: 28 October 2004 at 6:41am

pControl->SetIconId. + XTPImageManager->SetIcons.

+see CommandBarIcons sample.

 

somebody, add this to FAQ!

 

 



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


Posted By: jeffcmj
Date Posted: 28 October 2004 at 7:26am
Thanks. It seems toolbar's SetIconSize works. But if I use a large icon, it seems the menu will use a scale down version of the icon. I think I shall use XTPImageManager->SetIcons to set a 16*16 icons for the same ID, shall I?



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