Returns if window has been moved or resized and updates given array
#include "Window, Screen, Mouse and Control.au3" _WindowChanged( $hGUI, $aFormerPosition [, $bClientArea = False ] ) |
$hGUI | Window GUI handle |
$aFormerPosition | Former position and size of given window |
$bClientArea | True = given former position contains size of client area instead of window |
boolean value | True = Window has been moved or resized |
If _WindowChanged($GUI,$WindowPosition) Then _Ok("Did you moved or resize the window?")
If _WindowChanged($GUI,$GUIPosition,True) Then _Ok("Did you moved or resize the GUI?")