Jump to content
Sign in to follow this  

icon on a button

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)
While 1
    $msg = GUIGetMsg()
        Case $msg = $GUI_EVENT_CLOSE
        Case Else

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...