IDLitWindow::AddWindowEventObserver
Syntax | Arguments | Keywords | Version History | See Also
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 (Object Programming) 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.
Syntax
Obj->[IDLitWindow::]AddWindowEventObserver, Objects
Arguments
Objects
A reference (or vector of references) to the object(s) to be added as window event observers.
Keywords
None
Version History
See Also
IDLitWindow::OnKeyboard, IDLitWindow::OnMouseDown, IDLitWindow::OnMouseMotion, IDLitWindow::OnMouseUp, IDLitWindow::OnTimer, IDLitWindow::OnWheel, IDLitWindow::SetEventMask