I have read something in the HELP of MSDN and it said that it will add something in the main of the program like that :

Code:
case WM_TIMER: 
 
    switch (wParam) 
{ 
        case IDT_TIMER1: 
...............
But is that only when it's not a console ? Cause I do not know where to add that code in a console ?