MGL_wmRemoveWindowEventHandler

Removes event handler of the window.

Declaration

ibool MGLAPI MGL_wmRemoveWindowEventHandler(
window_t *wnd,
int id)

Prototype In

mgraph.h

Parameters

wnd | 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 window's 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_wmPushGlobalEventHandler, MGL_wmPopGlobalEventHandler, MGL_wmRemoveGlobalEventHander, MGL_wmCaptureEvents, MGL_wmUncaptureEvents

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