Jump to content

GUIcreate help


 Share

Recommended Posts

Well, I thought I had everything I needed but i've run into a bit of a problem. I've been successful in creating a box or a line using the code you pasted above, but anytime I try to add another box or line, it only displays one... Here is what I have:

include <GUIConstants.au3>


GUICreate("", 263,1,874,39,$WS_POPUP,$WS_EX_TOPMOST)
GUICreate("", 1,831,874,39,$WS_POPUP,$WS_EX_TOPMOST)
GUISetBkColor(0x00FF00)

GUISetState()

While 1
    If GUIGetMsg() = -3 Then
        ExitLoop
    EndIf
WEnd

However it only displays one of the GUIcreate.

I basically need to make random lines/boxes in certain places on my screen all in 1 script. In theory it seemed easy, just keep adding GUIcreates of what I need, then run it. But it seems like I can only have ONE GUIcreate....

What do I need to do? Sorry for the newb questions

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