xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

SetMouse()

Determines the visibility of the mouse cursor.

Syntax

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

Arguments

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

Return

The function returns .T. (true) when the mouse cursor is visible, otherwise .F. (false)

Description

SetMouse() is used in full screen or console window applications to show or hide the mouse cursor and optionally move it to a new position on the screen. It combines the functions MSetPos(), MShow() and MHide().

Info

See also:NumButtons(), MSetCursor(), MSetPos()
Category: Mouse functions
Source:rtl\mousex.c
LIB:xhb.lib
DLL:xhbdll.dll


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