View Single Post
Old 03-31-2006, 02:20 PM   #3 (permalink)
QUantumAnenome
Code Monkey
 
Join Date: Mar 2005
Posts: 56
QUantumAnenome is on a distinguished road
Send a message via Yahoo to QUantumAnenome
In WinMain add this.

Code:
    SetTimer(hWnd, 0 /* id number */, 120000 /* milliseconds */, NULL);
In WndProc add this.

Code:
    switch(iMsg)
    {
    case WM_TIMER:
        if (wParam == 0)
        {
            // your stuff here
        }
        break;
    }
QUantumAnenome is offline   Reply With Quote