Jump to content

I must be missing something...


Recommended Posts

I copied this out of the help file... it doesnt seem to do anything. I press F5 on SciTE or try to run it without SciTE. Neither way brings up anything. Maybe I am just missing something. I cant find anything else in the help file in the GUICreate() that would direct me properly.

#include GUIConstants.au3

GUICreate("myGUI")
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

Let me know,

JS

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Link to comment
Share on other sites

  • Developers

I copied this out of the help file... it doesnt seem to do anything. I press F5 on SciTE or try to run it without SciTE. Neither way brings up anything. Maybe I am just missing something. I cant find anything else in the help file in the GUICreate() that would direct me properly.

#include GUIConstants.au3

GUICreate("myGUI")
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

Let me know,

JS

<{POST_SNAPBACK}>

Did you copy&paste it ?

You are missing the <> around GUIConstants.au3....

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

@SlimShady

The reason I opened the thread here and not there is because I have seen probably over 100 threads come through here that are GUI related. I havent once seen anyone refer it to the v3 GUI (Beta Only). So I figured there would be no problem.

Yes I did download the beta version and installed it :)

@JdeB

Thanks I must have missed that. I thought I saw it in the help file the way Mhz said it was, but you are correct the help file has the <>'s

@MHz

Might want to update your helpfile. It has the <>'s :)

Edit: Its not a mistake on the GUICreate() part though I could have swore I have seen it that way before.

Thank you guys,

JS

Edited by JSThePatriot

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

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