Sign in to follow this  
Followers 0
faldo

Button without border?

2 posts in this topic

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)

Share this post


Link to post
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.

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  
Followers 0