I would like the timer to start when the button on the first dialog is pushed. So when the second dialog pop up it has a running clock.....
SilverBlue
Posts
-
Timer not running, where to initialise -
Timer not running, where to initialiseDeclaration : I am a beginner. (like C, always declare first ;-) ) Alright, straight to the point. I created a new MFC project, dialog base. I have a main dialog with a button, which will call the second dialog with a timer (clock). Normally when I have single dialog, I start the timer by initializing it in OnInitDialog(). Now I have the time in second dialog, where should i initialize it? In which function? Or what should I do? Any opinion is extremely welcome. Thanks.
-
Timer not running, where to initialiseDeclaration : I am a beginner. (like C, always declare first ;-) ) Alright, straight to the point. I created a new MFC project, dialog base. I have a main dialog with a button, which will call the second dialog with a timer (clock). Normally when I have single dialog, I start the timer by initializing it in OnInitDialog(). Now I have the time in second dialog, where should i initialize it? In which function? Or what should I do? Any opinion is extremely welcome. Thanks.