![]() |
• Interface Manager | ||||||||||||
|
API Links
Developer Links
|
class WindowEventHandlerDefined in:
The C4Interface.hWindowEventHandler class encapsulates a window event handler function.
Definition
Constructor
Parameters
Description
The WindowEventHandler class encapsulates a procedure that is invoked when a window event occurs. Once an instance of the WindowEventHandler class has been constructed, it can be installed by calling the InterfaceMgr::InstallWindowEventHandler function.When a window event occurs, the procedures corresponding to all installed window event handlers are invoked. The HandlerProc type is defined as follows.
eventType field of the WindowEventData structure specifies what type of window event occurred and can be one of the following values.
eventWindow field of the WindowEventData structure specifies the window for which the event occurred. The cookie parameter is the value passed to the WindowEventHandler constructor.A window event handler is uninstalled by destroying its associated class instance. Base Classes
|