Aassdd Posted March 25, 2008 Share Posted March 25, 2008 Shouldn't it work? $Play = GUICtrlCreateButton("", 10, 190, 50, 30) GUICtrlSetImage($Play, @ScriptDir & "\Icons\Buttons\Play.ico") Link to comment Share on other sites More sharing options...
JustinReno Posted March 25, 2008 Share Posted March 25, 2008 No, it shouldn't. You seriously need to read GUICtrlCreateButton() in the help file again. Link to comment Share on other sites More sharing options...
Achilles Posted March 25, 2008 Share Posted March 25, 2008 It would work with GuiCtrlCreatePic. My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
rasim Posted March 25, 2008 Share Posted March 25, 2008 It would work with GuiCtrlCreatePic.What? Why need to use GuiCtrlCreatePic() func.? Example: #include <GuiConstants.au3> $hGUI = GUICreate("Test GUI", 200, 100) $hButton = GUICtrlCreateButton("", 60, 50, 60, 30, $BS_ICON) GUICtrlSetImage(-1, "shell32.dll", 10, 0) GUISetState() Do Until GUIGetMsg() = -3 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