Jump to content
Sign in to follow this  
scila1996

_GUICtrlButton_SetImage Do Not Worked In Windows XP

Recommended Posts

scila1996

For Code

#include <GUIConstants.au3>
#include <GuiButton.au3>

$Form1 = GUICreate("AForm1", 625, 443, 431, 148)
$Button1 = GUICtrlCreateButton("AButton1", 176, 112, 275, 161, 0)
_GUICtrlButton_SetImage($Button1, @SystemDir & "\shell32.dll", -24, False)
GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

It Not Show Icon in Windows XP

Share this post


Link to post
Share on other sites
UEZ

Try the $BS_BITMAP style.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
Spider001

it works perfect search 2 days for that look at this example

have fun

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.