WindowIdentifier=UseWindow(WindowNumber)

Return a window identifier to use after a event, hWindow() return the window identifer of the event, and can be compared with this command.