Jump to content

Having a full screen GUI


Mattraks
 Share

Recommended Posts

Well, I want to have a GUI and it will be full screen (height is @DesktopHeight and width is @DesktopWidth) but those can vary from computer to computer. What I want to do is have the controls be in the same place for each computer it is run on. Is there any way to do this?

Link to comment
Share on other sites

If the resolution might change... where do you want to have the controls? Centered? Left side, right side...?

Use @DesktopHeight + Width for GuiCreate...

Use GUICtrlSetResizing() for Control positioning...

Hope that helps

Link to comment
Share on other sites

But thats when you maximize it. I want it to be the same on startup.

If you want the gui to be the same on all screens then presumably you want the whole gui to act like a picture which is expanded or shurunk, in which case have this line at the top of your script.

Opt("GuiREsizeMode", $GUI_DOCKAUTO)
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
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...