Print Page | Close Window

[Toolkit Pro]Changing TB icons

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=166
Printed Date: 29 April 2024 at 12:56pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [Toolkit Pro]Changing TB icons
Posted By: chaos user
Subject: [Toolkit Pro]Changing TB icons
Date Posted: 23 September 2003 at 5:47am

I want to change the icon of a toolbar button. I found out how it's done in the XTToolkit but now I'm moving to Toolkit Pro 8000 and the new command bars are still difficult for me to use.

So can someone tell me how to do it?

The best way for me would be something like:

class CMyTB : public CXTPToolBar {

public: void ChangeTBBIcon(int nButton, int nIcon);

};

where nIcon is an icopn from the tool bar resource

Please can someone give me code to such function or suggest something else?

thanks in advance for any help

 



-------------
//forever loop
while(metal.rulez())
dostuff(); // :)



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