Control goes off the screen
Posted: 03 Nov 2020, 19:33
Hi all,
This issue has had me perplexed for awhile now.
Endgame: Create a GUI and a control that consistently displays correctly regardless of resolution and scale using this simple code below.
Currently, the control goes off the screen, yet the gui does not. Hardcoding a padding to the right side of the screen for the control (via wWidth) would produce different results for all the different resolutions and scales, so this isn't an option. Any suggestions?
Thanks!
jules
This issue has had me perplexed for awhile now.
Endgame: Create a GUI and a control that consistently displays correctly regardless of resolution and scale using this simple code below.
Code: Select all
Gui, Add, ActiveX, x0 y0 w%A_ScreenWidth% h%A_ScreenHeight% vWMP Center, WMPLayer.OCX
Gui, Show, % "w" A_ScreenWidth " h" A_ScreenHeight " Maximize", Player
Return
Thanks!
jules