An example of monitoring when windows are created, closed or re-drawn. I just noticed there is an example (similar to mine) in the AutoIt beta v3.3.9.6+, though the more examples there are the better understanding users will have. #include <GUIConstantsEx.au3>
#include <WinAPIEx.au3>
Example()
Func Example()
Local $hGUI = GUICreate('An(other) example by guinness - 2013', Default, Default) ; Create a GUI.
GUISetState(@SW_SHOW, $hGUI)
GUIRegisterMsg(_WinAPI_RegisterWindowMessa