Public Sub TimerProc (ByVal hwnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, _
ByVal dwTime As Long)
' Place application-defined code here.
End Sub
The TimerProc callback function executes whenever the time-out period of an active timer elapses. Because the callback function receives the index of the timer that called it, a single TimerProc function can be used to handle multiple timers simultaneously.
TimerProc does not return a value.
Like all callback functions, TimerProc must be Public and be declared inside a module.
Const WM_TIMER = &H113
Back to the Callback Function list.
Back to the Reference section.
Last Modified: May 21, 2000
This page is copyright © 2000 Paul Kuliniewicz.
Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/t/timerproc.html