Jump to content

Gui background picture


Recommended Posts

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
Link to comment
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]

Link to comment
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]

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