次の方法で共有


MWINDOW( ) Function

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

MWINDOW([cWindowName])

Return Value

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

Reference

MCOL( ) Function

MDOWN( ) Function

MROW( ) Function

WONTOP( ) Function

WOUTPUT( ) Function

Other Resources

Functions