C4 Engine
C4 Engine API Documentation

InterfaceMgr::InstallWindowEventHandler

Defined in:  C4Interface.h
Installs a window event handler.
Prototype

void InstallWindowEventHandler(WindowEventHandler *handler);

Parameters
handler The event handler to install.
Description
The InstallWindowEventHandler function installs a window event handler that is invoked whenever a window event occurs. Multiple window event handlers may be installed simultaneously, and each one is invoked when an event occurs.

A window event handler is uninstalled by destroying its associated class instance.
See Also

WindowEventHandler