Jump to content

Button without border?


 Share

Recommended Posts

Is it possible to create a button that only displays an icon instead of an icon inside a border?

If not, is it possible to create a button from "label"-text?

$Button = GUICtrlCreateButton("", 60, 360, 20, 20, $BS_ICON )
GUICtrlSetImage(-1, "edit.ico", 1,  0)
Link to comment
Share on other sites

Is it possible to create a button that only displays an icon instead of an icon inside a border?

If not, is it possible to create a button from "label"-text?

$Button = GUICtrlCreateButton("", 60, 360, 20, 20, $BS_ICON )
GUICtrlSetImage(-1, "edit.ico", 1,  0)
If I understand what you are looking for you need to take a look at "GUICtrlCreateIcon()" or "GUICtrlCreatePic()" combined with the "$SS_NOTIFY" style.

Most controls can function as if they where buttons when given this style.

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...