Jump to content
Sign in to follow this  

Best way to use images as buttons?

Recommended Posts


I tried using $BS_BITMAP style with the GUICtrlCreateButton control and then GUICtrlSetImage, but that just puts the image sort of on the button, rather than replacing it.

Koda seemed to suggest I could also use $BS_PUSHBOX.. it looked like how I wanted it in Koda, but not in the actual GUI.

I've read about just assigning the function to the clicking of the images, and something about using labels instead of buttons.

What's the "right" way? Or the rightest way anyway.

pros? cons?

Why doesn't BS_PUSHBOX work?



p.s. NOT looking for roll-over effects or anything fancy - just a clickable image that runs a function.

Edited by LondonNDIB

Share this post

Link to post
Share on other sites

I still welcome advice/comments, but I found Valuator's _Buttonhover UDF and it works very well.


Thanks... you should check-out EzSkin...its really easy to skin with pic buttons



Edited by Valuater


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this