void CALLBACK EXPORT TimerProc( HWND hWnd,      // handle of CWnd that called SetTimer
   UINT nMsg,      // WM_TIMER
   UINT nIDEvent,   // timer identification
  DWORD dwTime    // system time   )
{
iCurPic++;
if(iCurPic >=iPicCount)
iCurPic = 0;
//SendMessage(hWnd,WM_PAINT,0,0);
Log("Timer!!!",__FUNCTION__,__FILE__);
//OnPaint(hWnd);
SendMessage(hWnd,WM_PAINT,0,0);
}
这样子做后 OnPaint被调用 可是 OnPaint中的操作全部无效
为什么啊 谢谢高手