Sign in to follow this  
Followers 0
scila1996

_GUICtrlButton_SetImage Do Not Worked In Windows XP

4 posts in this topic

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



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

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

have fun

Share this post


Link to post
Share on other sites

Thank !  :sorcerer:

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