Sign in to follow this  
Followers 0
MissingFrame

GuiCreate() Left & Top not working?

3 posts in this topic

I've not been able to get the position parameters to do anything for GuiCreate. For instance, in the example of SampleControls.au3 I changed the GuiCreate line to:

GuiCreate("Sample GUI", 400, 400, 350, 350)

and I've changed the 350 above to various numbers and I always get the same result, window is opened center of screen. Is there something I'm missing or is this a bug? Other window positioning functions seem to work ok.

AutoIt3 v3.2.12.1 but it also happened on the older version I upgraded from (I think v3.2.10ish).

Sys details: dual-monitor nVidia Windows XP Pro SP2 Athlon 64.

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Hmm, ok. Thanks for the help btw. :P

I just tried that code on my machine and same result as before, centered on screen. I might have some "helper" program forcing windows to the center of screen, nVidia did this but I disabled it already. My workaround is to move the window after it opens, which is probably easier than hunting down my rogue "helper" ...

........

Edit:

........

Removed nVidia tools completely and now it works fine. I should have suspected the bug was with nVidia.

Edited by MissingFrame

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