The WM_TIMER message is posted to the installing thread’s message queue when a timer expires. You can process the message by providing a WM_TIMER case in the window procedure. Otherwise, the default window procedure will call the TimerProc callback function specified in the call to the SetTimer function used to install the timer.
WM_TIMER wTimerID = wParam; // timer identifier tmprc = (TIMERPROC *) lParam; // address of timer callback
An application should return zero if it processes this message.
The WM_TIMER message is a low-priority message. The GetMessage and PeekMessage functions retrieve this message only when no other higher-priority messages are in the thread’s message queue.
GetMessage, PeekMessage, SetTimer, TimerProc
file: /Techref/os/win/api/win32/mess/src/msg28_15.htm, 2KB, , updated: 2000/4/7 12:20, local time: 2024/8/16 08:50,
13.58.203.137:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/TECHREF/os/win/api/win32/mess/src/msg28_15.htm"> WM_TIMER</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.