Jump to content

Buttons?


LimeSeed
 Share

Recommended Posts

you can always use a picture as a button

$picture = GUICtrlCreatePic("img.jpg", 50, 50, 200, 50)

While 1

$msg = GUIGetMsg()

If $msg = $picture Then

; Do something

EndIf

Wend

Yeah, that is the closest thing that you can do, but even if you have a picture of a circle, the controller itself is still not rounded.

Link to comment
Share on other sites

Can do a custom button widget by monitoring mouse events, and test radius from a point in order to get a circular button.

Link to comment
Share on other sites

is there any way to make round buttons by using guictrlcreatebutton("round button", 23,23,23,23) ?

Try _GuiRoundCorners() with a label (it doesn't work with buttons), see THIS thread for how to do it.
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...