Jump to content
Sign in to follow this  
Garrett19212

GUICTRLSetImage

Recommended Posts

the location of the pic is like this

"C:\data\images\scan.jpg"

thus

$scanbutton = GUICtrlCreateButton ("Start Scan", 0, 0, 40,40,$BS_ICON)

GUICtrlSetImage (-1,"C:\data\images\scan.jpg")

(not sure of your actual location)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

$scanbutton = GUICtrlCreateButton ("Start Scan", 0, 0, 40,40,$BS_ICON)

GUICtrlSetImage (-1, @SCRIPTDIR & "/data/images/scan.jpg")

Didn't work, ill try what qafrost said.

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...