Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - png toolbar icons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

png toolbar icons

 Post Reply Post Reply
Author
Message
mitcheljh View Drop Down
Groupie
Groupie


Joined: 20 July 2008
Location: United States
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote mitcheljh Quote  Post ReplyReply Direct Link To This Post Topic: png toolbar icons
    Posted: 03 May 2009 at 10:39am
Hi,

I've been using bmp images for my toolbars (multiple icons in a single toolbar image), and am trying to convert them to use png. For some reason, the when the image is a png, the icons don't show. I'm using SetIcons() to set the icons. Do I need to do anything special to be able to use png images as opposed to bmps?    I'm using ToolkitPro as a static library. Would that make a difference?

Thanks

After stepping through SetIcons(), I discovered that the png file needed to be in a resource folder named "PNG".
It's working fine now.
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.