Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - [Toolkit Pro]Changing TB icons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Toolkit Pro]Changing TB icons

 Post Reply Post Reply
Author
Message
chaos user View Drop Down
Newbie
Newbie


Joined: 09 May 2003
Location: Bulgaria
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote chaos user Quote  Post ReplyReply Direct Link To This Post Topic: [Toolkit Pro]Changing TB icons
    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

 



Edited by chaos user
//forever loop
while(metal.rulez())
dostuff(); // :)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.