Jump to content

icon on a button


Schlumpf
 Share

Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...