Jump to content

One word : ARGH .. Please help me with GUI- Background


AutoItWannabe
 Share

Recommended Posts

Specifically answered as asked....

ANSWER: make sure you type the right code into Scite.

Lar.

Well i actaully did read everything what i typed like 10 times...

It dosent throw any errors or anything like that... :/

Well guess im gonna read the Help file another 2 times ... :/

EDIT : Oh and i use a notepad :)

EDIT No.2 : Well i checked everything again and again...

Edited by AutoItWannabe
Link to comment
Share on other sites

Not to be rude, but this post is filed under "DUH". You have not posted any code for us to peruse, therefore the answer Larry gave. We cannot help if we have no idea what you are doing. Try driving a car blindfolded. You will see what we mean.

Who else would I be?
Link to comment
Share on other sites

HI,

post your code and we'll find the prob.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Communication problem. You see the code, we do not. What some help, then do share the experience.

Right so if you mean the Entire code well ok here it is :

#include <GUIConstants.au3>
GUICreate ( "xxx" , 200 , 300 )
GUICtrlCreatePic(@Systemdir & "\BackGround.Jpeg",0,0, 200,300)
GuiCtrlSetState(-1,$GUI_DISABLE)
GUISetState ()
GUICtrlCreateButton("xxx", 110, 10, 60)
GUICtrlCreateEdit ( "", 100, 50 , 80 , 100 )
GUICtrlCreateButton("xxx", 130, 240, 60)
GUICtrlCreateButton("xxx", 130, 270, 60)
GUICtrlCreateLabel ("xxx", 10,5 )
GUICtrlCreateInput ("xxx", 10,20,70,20)
GUICtrlCreateLabel ("xxx", 10,45 )
GUICtrlCreateInput ("xxx", 10,60,70,20)
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

Thanks for Any Help.. oh and btw i know its almost unreadable... even tho im used to C++ i still dont type (explanations)

EDIT : Thank you larry for that example

Edited by AutoItWannabe
Link to comment
Share on other sites

I don't know much but this works here ....

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("AForm1", 638, 457, 193, 115)
$Pic1 = GUICtrlCreatePic("C:\WINDOWS\winnt256.bmp", 0, 0, 636, 452, BitOR($SS_NOTIFY,$WS_GROUP))
GuiCtrlSetState(-1,$GUI_DISABLE)
GUICtrlCreateButton("Hello World",10,10,100,100)
GUICtrlCreateCombo("",10,140,100,100,$CBS_DROPDOWNLIST)
GUICtrlSetData(-1,"Hello|World|How|Are|You|Today","Hello")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd
Edited by Ruud_Sas
Link to comment
Share on other sites

this also works here :

#include <GUIConstants.au3>
GUICreate ( "xxx" , 200 , 300 )
GUICtrlCreatePic("C:\WINDOWS\winnt256.bmp",0,0, 200,300) ; So your problem must be here ?!
GuiCtrlSetState(-1,$GUI_DISABLE)
GUISetState ()
GUICtrlCreateButton("xxx", 110, 10, 60)
GUICtrlCreateEdit ( "", 100, 50 , 80 , 100 )
GUICtrlCreateButton("xxx", 130, 240, 60)
GUICtrlCreateButton("xxx", 130, 270, 60)
GUICtrlCreateLabel ("xxx", 10,5 )
GUICtrlCreateInput ("xxx", 10,20,70,20)
GUICtrlCreateLabel ("xxx", 10,45 )
GUICtrlCreateInput ("xxx", 10,60,70,20)
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
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...