Print Page | Close Window

Need simple example of custom icon buttons

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=14417
Printed Date: 26 June 2024 at 10:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Need simple example of custom icon buttons
Posted By: Phil1
Subject: Need simple example of custom icon buttons
Date 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



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