Returns the name of the window over which the mouse pointer is positioned.
Syntax
MWINDOW([cWindowName])
Returns
Character, Logical
Arguments
cWindowName
Specifies a window name. If the mouse pointer is positioned over the specified window, MWINDOW( ) returns true (.T.); otherwise, MWINDOW( ) returns false (.F.).
Remarks
If you omit the optional window name, MWINDOW( ) returns the name of the window over which the mouse pointer is positioned, or an empty string if the mouse pointer is positioned over the main Visual FoxPro window or over any other window that is not part of Visual FoxPro.