faldo Posted March 17, 2009 Share Posted March 17, 2009 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) Check out my other scripts: RDP antihammer/blacklist generator | Phemex cryptocurrency exchange API Link to comment Share on other sites More sharing options...
Tvern Posted March 17, 2009 Share Posted March 17, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now