Sign in to follow this  
Followers 0
AcidAlchamy

Position GUI

4 posts in this topic

#1 ·  Posted (edited)

Is it possible to set the opening cords of a GUI, the X and Y ?

If so, how?

Edited by AcidAlchamy

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Type GuiCreate() in SciTE, click the text and then hit [F1], if you did it right, the help file will pop up and tell you exactly how to do it.

Otherwise, if it's not a window that you created, use function winmove().

Edited by THAT1ANONYMOUSDUDE

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites

Id have to look into winmove, because

I got a GUI thats centered on my screen when ran; and it has plugs for other GUI's but they also open up centered and I want to set them to open around my main GUI

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

does your guicreate look something like this?

$Form1 = GUICreate("name of gui", 409, 98)

if it does then your missing the next two parameters. they are optional but its the x and y coords.

check out this http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm for a complete documentation on the function

Edited by pieeater

[spoiler]My UDFs: Login UDF[/spoiler]

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  
Followers 0