Click here to Skip to main content
15,903,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 4:47
Software_Specialist8-Jun-07 4:47 
GeneralRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 3:38
Software_Specialist8-Jun-07 3:38 
AnswerRe: error C2664 in MFC..? Pin
Rajkumar R8-Jun-07 3:41
Rajkumar R8-Jun-07 3:41 
GeneralRe: error C2664 in MFC..? Pin
Software_Specialist8-Jun-07 3:49
Software_Specialist8-Jun-07 3:49 
Questionshowing countdown when AddTimer() is working Pin
neha.agarwal278-Jun-07 1:01
neha.agarwal278-Jun-07 1:01 
QuestionRe: showing countdown when AddTimer() is working Pin
Clebson Derivan8-Jun-07 1:25
Clebson Derivan8-Jun-07 1:25 
AnswerRe: showing countdown when AddTimer() is working Pin
neha.agarwal278-Jun-07 1:34
neha.agarwal278-Jun-07 1:34 
GeneralRe: showing countdown when AddTimer() is working Pin
Clebson Derivan8-Jun-07 2:13
Clebson Derivan8-Jun-07 2:13 
Sorry for the questions, I have searched in MSDN and cannot find this AddTimer API so I don't know what it does. BTW as you are using windows you can use SetTimer API and handle the WM_TIMER message. you can set a one second time interval and decrement a member variable ex:

<br />
m_nCountDown = 60;<br />
SetTimer(hwnd, 1, 1000, (TIMERPROC) NULL);<br />
//...<br />
case WM_TIMER: <br />
   TRACE("%d\n", --m_nCountDown);<br />
   if(m_nCountDown == 0) KillTimer(hwnd, 1); <br />

GeneralRe: showing countdown when AddTimer() is working Pin
neha.agarwal278-Jun-07 2:51
neha.agarwal278-Jun-07 2:51 
GeneralRe: showing countdown when AddTimer() is working Pin
David Crow8-Jun-07 3:02
David Crow8-Jun-07 3:02 
GeneralRe: showing countdown when AddTimer() is working Pin
Clebson Derivan8-Jun-07 3:14
Clebson Derivan8-Jun-07 3:14 
GeneralRe: showing countdown when AddTimer() is working Pin
pierre_ribery8-Jun-07 11:38
pierre_ribery8-Jun-07 11:38 
QuestionDEBUG mode ERROR Pin
vivekphlp8-Jun-07 0:56
vivekphlp8-Jun-07 0:56 
QuestionRe: DEBUG mode ERROR Pin
prasad_som8-Jun-07 2:40
prasad_som8-Jun-07 2:40 
QuestionRe: DEBUG mode ERROR Pin
David Crow8-Jun-07 2:53
David Crow8-Jun-07 2:53 
AnswerRe: DEBUG mode ERROR Pin
vivekphlp8-Jun-07 3:23
vivekphlp8-Jun-07 3:23 
QuestionRe: DEBUG mode ERROR Pin
David Crow8-Jun-07 3:24
David Crow8-Jun-07 3:24 
AnswerRe: DEBUG mode ERROR Pin
vivekphlp8-Jun-07 3:26
vivekphlp8-Jun-07 3:26 
Questionfailed to install vc6.0 Pin
aren3728-Jun-07 0:32
aren3728-Jun-07 0:32 
AnswerRe: failed to install vc6.0 Pin
David Crow8-Jun-07 2:54
David Crow8-Jun-07 2:54 
GeneralRe: failed to install vc6.0 Pin
aren37211-Jun-07 21:57
aren37211-Jun-07 21:57 
QuestionRe: failed to install vc6.0 Pin
David Crow12-Jun-07 2:27
David Crow12-Jun-07 2:27 
AnswerRe: failed to install vc6.0 Pin
aren37212-Jun-07 2:40
aren37212-Jun-07 2:40 
QuestionService Admin Pin
VC_RYK8-Jun-07 0:31
VC_RYK8-Jun-07 0:31 
AnswerRe: Service Admin Pin
Nelek8-Jun-07 3:25
protectorNelek8-Jun-07 3:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.