Madza91 Posted November 23, 2007 Share Posted November 23, 2007 Hi, i want to make icon in button something like this but without this litle bug #include <GuiConstants.au3> $Gui = GUICreate("button icon", 200, 100, -1, -1) $ic = GUICtrlCreateIcon("shell32.dll", -30, 19, 19, 32, 32) GUICtrlSetState(-1, $GUI_DISABLE) $button = GUICtrlCreateButton("", 10, 10, 52, 70, $WS_CLIPSIBLINGS) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEndScreenshot: [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) Link to comment Share on other sites More sharing options...
Valuater Posted November 23, 2007 Share Posted November 23, 2007 Maybe... #include <GuiConstants.au3> $Gui = GUICreate("button icon", 200, 100, -1, -1) $button = GUICtrlCreateButton("", 10, 10, 52, 70, $BS_ICON );$WS_CLIPSIBLINGS) GUICtrlSetImage($button,"shell32.dll", -30) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd 8) Link to comment Share on other sites More sharing options...
Madza91 Posted November 23, 2007 Author Share Posted November 23, 2007 No no, i want nice button like in picture, no like $BS_ICON :/ is possible to make icon transparent and fix that ugly bug :| [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :) 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