# IsFullScreen()

Author: TheGood Last Modified: 20100305

I think this is the most accurate way to check if an application is currently in fullscreen mode. Based on information from the Microsoft KB.
* Supports multiple monitors (the return value is the index of the monitor on which the window is fullscreen).
* Works even with different taskbar settings (auto-hide, always-on-top).
* Works with other registered taskbars (e.g. Ultramon).

IsFullscreen(sWinTitle = "A", bRefreshRes = False)

For more details of the functions's parameters and return value, please see it's source code.

#### Remarks

For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/viewtopic.php?t=55041

#### License

nonexistent

#### Example

    ; #Include IsFullScreen.ahk
    #NoEnv
    SendMode Input
    SetWorkingDir %A_ScriptDir%

    MsgBox Click Win+LeftMouseButton to see if application is in fullscreen mode.
    Return

    #LButton::
    MsgBox % IsFullscreen()
    Return