Supported Browsers Home   
MGL_wmRaiseWindow Previous   
MGL_wmRemoveWindowEventHandler Next   
External Functions Up   

MGL_wmRemoveGlobalEventHandler

Removes global event handler.

Declaration

ibool MGLAPI MGL_wmRemoveGlobalEventHandler(
    winmng_t *wm,
    int id)

Prototype In

mgraph.h

Parameters

wm

window

id

ID of the handler to remove

 

Return Value

False if the stack did not contain handler with this ID, true otherwise.

Description

This function removes the handler with given ID (as passed to MGL_wmPushWindowHandler) from global event handlers stack. There may not be any handler with such ID; in that case, the function returns false.

See Also

MGL_wmProcessEvent, MGL_wmPushWindowEventHandler, MGL_wmPopWindowEventHandler, MGL_wmRemoveWindowEventHandler, MGL_wmPushGlobalEventHandler, MGL_wmPopGlobalEventHandler, MGL_wmCaptureEvents, MGL_wmUncaptureEvents

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