Sign in to follow this  
Followers 0
raedts

Gui background picture

4 posts in this topic

Okay i trying to create a little app,

The problem i have is the following:

I want to set a picture as background, but if i use Guictrlcreatepic buttons don't work anymore.

#include <GuiConstants.au3>

GuiCreate("MyGUI", 515, 544)

GUICtrlCreatepic("back.jpg", 0,0,515,544,$GUI_SS_DEFAULT_PIC)
GUISetBkColor(0xFFFFFF)
guictrlcreatebutton("Verstuur", 415,415, 60,65)
GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
        ;;;
    EndSelect
WEnd
Exit

Share this post


Link to post
Share on other sites



#include <GuiConstants.au3>

GuiCreate("MyGUI", 515, 544)

$pic = GUICtrlCreatepic("back.jpg", 0,0,515,544 )
Guictrlsetstate( $pic , $GUI_DISABLE )
GUISetBkColor(0xFFFFFF)
guictrlcreatebutton("Verstuur", 415,415, 60,65)
GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
        ;;;
    EndSelect
WEnd
Exit


--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Share this post


Link to post
Share on other sites

Thank you Daniel for your quick response! :D

Share this post


Link to post
Share on other sites

No Problem :D


--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

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  
Followers 0