Hello .
I have a problem in my visual c++ program .
I want use timer in my OpenGL game . but
when I set timer (“SetTimer(IDT_TIMER,2000,0) ;”) and when it
return a non zero value ,I dont recive any WM_TIMER message to
dialog .
What I should do …

Thankyou before your favours.

Well, this question definitly doesnt have any connections to openGL, but in the MSDN is written this:
UINT_PTR SetTimer(HWND hWnd,UINT_PTR nIDEvent,UINT uElapse, TIMERPROC lpTimerFunc);

So if you want to send WM_TIMER to your dialog then you have to use it for example like this: