| Home
| Previous
| Next
| Up

MS_show

Displays the mouse cursor.

Declaration

void MGLAPI MS_show(void)

Prototype In

mgraph.h

Description

Increments the internal mouse cursor display counter, and displays the cursor when the counter gets to zero. Calls to MS_hide decrement the counter, and this call effectively cancels a single MS_hide call, allowing the MS_show and MS_hide calls to be nested.

If the mouse was obscured with the MS_obscure function, this reverses the effect and will redisplay the mouse cursor again. On systems with a hardware mouse cursor, the MS_obscure function effectively does nothing, while on systems using a software mouse cursor, the MS_obscure function simply calls MS_hide.

Note that the mouse cursor display counter is reset to -1 by default when an MGL fullscreen mode is started, so a single MS_show will display the mouse cursor after the mode has been started.

See Also

MS_hide, MS_obscure

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com