而我又看到這麽壹段話:When you specify a TimerProc callback function, the default window procedure calls the callback function when it processes WM_TIMER. Therefore, you need to dispatch messages in the calling thread, even when you use TimerProc instead of processing WM_TIMER.
妳可以嘗試著去調用LRESULT DispatchMessage(
CONST MSG *lpmsg // message information
);
If the lpmsg parameter points to a WM_TIMER message and the lParam parameter of the WM_TIMER message is not NULL, lParam points to a function that is called instead of the window procedure.
妳先試試 ,不行的話再聯系我。