Jump to content

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?

Thanks.

LD

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

Edited by LondonNDIB
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...