Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to change Bitmap of Toolbar Button?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change Bitmap of Toolbar Button?

 Post Reply Post Reply
Author
Message
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post Topic: How to change Bitmap of Toolbar Button?
    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.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2007 at 2:37am
It worked, thanks 
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.063 seconds.