xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

MSetCursor()

Determines the visibility of the mouse cursor.

Syntax

MSetCursor( [<lOnOff>] ) --> lPreviousSetting

Arguments

<lOnOff>
A logical value can be passed. .T. (true) makes the mouse cursor visible and .F. (false) hides it.

Return

The function returns a logical value indicating the visibility of the mouse cursor before MSetCursor() is called.

Description

MSetCursor() is used to change the visibility of the mouse cursor. This is only relevant for full screen text mode applications that use SaveScreen() for saving and the screen buffer. The mouse cursor must be hidden before SaveScreen() is called.

Info

See also:MPresent(), MRestState(), MSaveState(), MSetBounds(), SetMouse()
Category: Mouse functions
Source:rtl\mouseapi.c
LIB:xhb.lib
DLL:xhbdll.dll


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