Jump to content
Sign in to follow this  
scila1996

_GUICtrlButton_SetImage Do Not Worked In Windows XP

Recommended Posts

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

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  

×
×
  • Create New...