EventWindowID()
Syntax
#Window = EventWindowID()
After a WindowEvent() or WaitWindowEvent() command, use this function to determine on which window the event has occurred.
Supported OS
All