Jump to content
Sign in to follow this  
ExoCore

How to insert image?

Recommended Posts

ExoCore

What is the #include to insert an image?

Share this post


Link to post
Share on other sites
ExoCore

#include <A bit more information about what you want>

Kind of like <ImageConstants> I guess?

Share this post


Link to post
Share on other sites
SkellySoul

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

GUICreate("", 500, 500)
GUICtrlCreatePic(@ScriptDir & "\123.jpg" , 0, 0, 500, 500)
GUISetState(@SW_SHOW)

While 1
    $Msg = GUIGetMsg()
    Switch $Msg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

Is this what you were looking for...if so be sure to look at the help file before posting and it will show you how to do lots :huh2:

Share this post


Link to post
Share on other sites
monoscout999

insted of write what you think, write what you want... and i recomend read the help file from the beggining, it explain what is #include and what for

Edited by monoscout999

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  

×