Schlumpf Posted August 10, 2006 Share Posted August 10, 2006 is it possible to put an icon an a button? like this: [CENTER]Sorry for my bad English... ;)[/CENTER] Link to comment Share on other sites More sharing options...
FuryCell Posted August 10, 2006 Share Posted August 10, 2006 take a look at this example code: #include <GUIConstants.au3> GUICreate("Icon Test", 214, 89, 192, 125) $Button = GUICtrlCreateButton("", 80, 24, 41, 41, $BS_ICON) GUICtrlSetImage($Button, @SystemDir & "\Shell32.dll", 14) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit Case Else ;;;;;;; EndSelect WEnd HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. 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