我要编写一个五子棋的程序
棋盘的右侧有黑白两个棋子
怎样让它们闪烁?
该白下的时候,白棋闪烁
黑也一样用Timer???

解决方案 »

  1.   

    Timer要保留
    每步三分钟限时用!有其他方法吗?
      

  2.   

    UINT_PTR SetTimer(          HWND hWnd,
        UINT_PTR nIDEvent,
        UINT uElapse,
        TIMERPROC lpTimerFunc
    );
    Return ValueIf the function succeeds and the hWnd parameter is NULL, the return value is an integer identifying the new timer. An application can pass this value to the 
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
    KillTimer function to destroy the timer. If the function succeeds and the hWnd parameter is not NULL, then the return value is a nonzero integer. An application can pass the value of the nIDEvent 
                                                                         ~~~~~~~~~
    parameter to the KillTimer function to destroy the timer.或者自己写CALLBACK更明白