|
IDL Reference Guide: iTools Object Classes |
|
The IDLitWindow::AddWindowEventObserver procedure method adds the given object(s) to the list of observers that are to be notified of events that occur within the window. Each observer must implement one or more methods corresponding to bits in the IDLitWindow object's event mask, as set by the IDLitWindow::SetEventMask method:
| Note See Designing a Behavior Object for examples that implement the OnTimer event in an animation display. |
When an event occurs within this window, the corresponding method (from the list above) will be called for each observer in the window's list.
See the IDLitWindow methods of the same name for information on creating window observer methods.
Obj->[IDLitWindow::]AddWindowEventObserver, Objects
A reference (or vector of references) to the object(s) to be added as window event observers.
None
IDLitWindow::OnKeyboard, IDLitWindow::OnMouseDown, IDLitWindow::OnMouseMotion, IDLitWindow::OnMouseUp, IDLitWindow::OnTimer, IDLitWindow::OnWheel, IDLitWindow::SetEventMask
IDL Online Help (March 06, 2007)