DemoGL::Reference::Functions::DEMOGL_MessageHandlerDisable

DEMOGL_MessageHandlerDisable

DEMOGL_MessageHandlerDisable disables message handling for the given registered effect object. Use this function to disable message handlers enabled using DEMOGL_MessageHandlerEnable.

void
DEMOGL_MessageHandlerDisable(
	const char *pszEffectName
);
	
Parameters.
pszEffectName
Pointer to a zero-terminated string which contains the name of the registered effect which message handler should be disabled.

Return values.

Remarks.
When you want to process the windows messages received by the main window, and thus by DemoGL, inside an effect object, enable that effects message handler, by calling DEMOGL_MessageHandlerEnable. DemoGL will then pass on every message received by its message handler to the effect object, by calling the effect objects method MessageHandler and passing all the data related to the message to the method. You can disable the message handler of an effect object by calling DEMOGL_MessageHandlerDisable. Message handlers for all registered effect objects are disabled by default.

Example.

Requirements.
DemoGL v1.3 (build 0112 or higher)

See also.
DEMOGL_MessageHandlerEnable, CEffect

Last changed on 20-jan-2001

©1999-2001 Solutions Design