|
| Inicio → WINDEV 2024 → How To Determine If A Window Has Been Maximized Programmatically |
| How To Determine If A Window Has Been Maximized Programmatically |
| Iniciado por vazcro, 08,sep. 2016 04:39 - 2 respuestas |
| |
| | | |
|
| |
Miembro registrado 19 mensajes |
|
| Publicado el 08,septiembre 2016 - 04:39 |
I would like to know if it is possible to determine that a window has been maximized in order to keep all windows equal.
In otherwords, if I find that the user has MAXIMIZED the Main window, I would like to make sure to maximize all others. This is to keep some sort of order among users. It's either that or not allow them to resize the windows at all.
-- Vincent D Crosby |
| |
| |
| | | |
|
| | |
| |
| Publicado el 08,septiembre 2016 - 15:46 |
Hi,
I don't know if exists a direct function because I don't have the lastest windev version, but you can "calculate it".
A window is maximized if its height and width is "near" the screen resolution.
Please check SysScreenResolution() and the way to extract height and width resolution. Then you just have to compare it to the window widht and height.
I Hope it helps.
Bruno |
| |
| |
| | | |
|
| | |
| |
| Publicado el 08,septiembre 2016 - 16:42 |
Hi
I think that you are looking for the winsize function
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 9/8/2016 à 7:46 AM, Bruno Caires a écrit :
Hi,
I don't know if exists a direct function because I don't have the lastest windev version, but you can "calculate it".
A window is maximized if its height and width is "near" the screen resolution.
Please check SysScreenResolution() and the way to extract height and width resolution. Then you just have to compare it to the window widht and height.
I Hope it helps.
Bruno |
| |
| |
| | | |
|
| | | | |
| | |
|