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 11:20, local time: 2024/12/23 17:10,
3.17.175.191: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://massmind.ecomorder.com/Techref/os/win/api/win32/mess/src/msg28_15.htm"> WM_TIMER</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.