Splash Screen中有settimer
在CSplashWnd::OnCreate中
设置SetTimer(1, 4000, NULL);//延时四秒

解决方案 »

  1.   

    有Cwnd::SetTimer(UINT,UINT,NULL)好用,
    把SetTimer写入Oncreate()中,用OnTimer响应。
      

  2.   

    to waxmxinyu(飞鱼):
    UINT SetTimer( UINT,UINT,NULL);中最后一个参数lpfnTimer 是怎么回事呀,
    能举个例子吗?谢谢。(我一直在用NULL)
      

  3.   

    to liuqiannan(二迷糊)
    lpfnTimer Specifies the address of the application-supplied TimerProc callback function that processes the WM_TIMER messages. If this parameter is NULL, the WM_TIMER messages are placed in the application’s message queue and handled by the CWnd object.
    The lpfnTimer callback function need not be named TimerProc, but it must be defined as follows:void CALLBACK EXPORT TimerProc(
       HWND hWnd,      // handle of CWnd that called SetTimer
       UINT nMsg,      // WM_TIMER
       UINT nIDEvent   // timer identification
       DWORD dwTime    // system time
    );
    懒得译过来了,凑和看吧。呵呵。