Active Window State Returns the active window state: maximized, minimized or normal. Example of the Activate Window State function.