Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Need simple example of custom icon buttons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Need simple example of custom icon buttons

 Post Reply Post Reply
Author
Message
Phil1 View Drop Down
Newbie
Newbie
Avatar

Joined: 30 May 2009
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Phil1 Quote  Post ReplyReply Direct Link To This Post Topic: Need simple example of custom icon buttons
    Posted: 30 May 2009 at 7:25pm
I am new to Toolkit Pro.  I need a simple example to show how to create and display a button formed by an icon defined by a bitmap with transparancy, so the dialog background can display around the irregular icon shape.  I want the bitmap to define the shape of the button, not just to display within a rectangular button.
 
Ideally, I would like to be able to do this both with BMP bitmaps having a defined transparence color and also from PNG images with transparency defined by the Alpha channel.
 
This sounds like something that is done all the time, but I can't find a sample of code to do it.
 
Thank you for your help.
 
Phil
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.