xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

WSetMouse()

Determines the visibility and/or position of the mouse cursor.

Syntax

WSetMouse( [<lOnOff>], [<nRow>], [<nCol>] ) --> lIsMouseVisible

Arguments

<lOnOff>
A logical value can be passed. .T. (true) makes the mouse cursor visible in the current window and .F. (false) hides it.
<nRow>
A numeric value between 0 and MaxRow() specifying the new row position of the mouse cursor in the current window.
<nCol>
A numeric value between 0 and MaxCol() specifying the new columnn position of the mouse cursor in the current window.

Return

The function returns .T. (true) when the mouse cursor is visible, otherwise .F. (false). If numeric values are passed, the mouse cursor is positioned accordingly in the current window.

Info

See also:WMSetPos()
Category: CT:Window , Mouse functions , Windows (text mode) , xHarbour extensions
Source:ct\ctwin.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe