![]() |
• Graphics Manager | ||||||||
|
API Links
Developer Links
|
class DisplayEventHandlerDefined in:
The C4Display.hDisplayEventHandler class encapsulates a display event handler function.
Definition
Constructor
Parameters
Description
The DisplayEventHandler class encapsulates a procedure that is invoked when a display event occurs. Once an instance of the DisplayEventHandler class has been constructed, it can be installed by calling the DisplayMgr::InstallDisplayEventHandler function.When a display event occurs, the procedures corresponding to all installed display event handlers are invoked. The HandlerProc type is defined as follows.
eventType field of the DisplayEventData structure specifies what type of display event occurred and can be one of the following values.
cookie parameter is the value passed to the DisplayEventHandler constructor.A display event handler is uninstalled by destroying its associated class instance. Base Classes
|