Jump to content
Sign in to follow this  
shea851

GUIcreate help

Recommended Posts

shea851

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

Share this post


Link to post
Share on other sites
shea851

Nevermind, I was able to figure this out. Thanks anyways!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.