Sign in to follow this  
Followers 0
Madza91

Button icon transparency

3 posts in this topic

Hi, i want to make icon in button something like this but without this litle bug :P

#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
WEnd

Screenshot:

Posted Image


[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) :)

Share this post


Link to post
Share on other sites



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) :)

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