Supported Browsers Home   
MGL_wmReparentWindow Previous   
MGL_wmSetWindowCursor Next   
External Functions Up   

MGL_wmSetGlobalCursor

Sets global cursor.

Declaration

void MGLAPI MGL_wmSetGlobalCursor(
    winmng_t *wm,
    cursor_t *cursor)

Prototype In

mgraph.h

Parameters

wm

window manager

cursor

the cursor to set

 

Description

In MGL window manager, any window has associated mouse cursor that is shown whenever the pointer enters window's area. This function enables you to forcingly set one cursor for all windows (useful for e.g. hourglass cursor when performing a lengthy operation). MGL WM will ignore cursors associated with windows if there's a global one.

Call MGL_wmSetGlobalCursor(NULL) to disable global cursor.

Note:    MGL_wmSetGlobalCursor does not take ownership of the cursor.

See Also

MGL_wmSetWindowCursor

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