Condividi tramite


MWINDOW( ) Function

Returns the name of the window over which the mouse pointer is positioned.

MWINDOW([cWindowName])

Return Values

Character, Logical

Parameters

  • 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.

See Also

MCOL( ) | MDOWN( ) | MROW( ) | WONTOP( ) | WOUTPUT( )