IDLitWindow::OnTimer
Syntax | Arguments | Keywords | Implementing the OnTimer Interface | Version History
The IDLitWindow::OnTimer procedure method handles notification (from the native window device) that a timer event has occurred, and passes that notification to all observers in the list of window event observers (as specified by calls to the IDLitWindow::AddWindowEventObserver method). You can also simulate a timer event by calling this method directly.
Note
Window event observers that handle timer events must implement the OnTimer method, as described in Implementing the OnTimer Interface. See IDLitWindow::AddWindowEventObserver for details.
Note
See Designing a Behavior Object (Object Programming) for examples that implement the OnTimer method in an animation display.
Syntax
Obj->[IDLitWindow::]OnTimer
Arguments
None
Keywords
None
Implementing the OnTimer Interface
When defining a window event observer that handles timer events, you must implement an OnTimer procedure method with the following signature:
where the Window argument is an object reference to the IDLitWindow object in which the event was generated.
Version History
See Also
IDLitWindow::AddWindowEventObserver