Click here to Skip to main content
15,900,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: custom control not displaying Pin
Iain Clarke, Warrior Programmer14-Mar-08 0:31
Iain Clarke, Warrior Programmer14-Mar-08 0:31 
GeneralRe: custom control not displaying Pin
Chandrasekharan P14-Mar-08 1:34
Chandrasekharan P14-Mar-08 1:34 
GeneralRe: custom control not displaying Pin
Iain Clarke, Warrior Programmer14-Mar-08 2:24
Iain Clarke, Warrior Programmer14-Mar-08 2:24 
GeneralRe: custom control not displaying Pin
Chandrasekharan P16-Mar-08 19:29
Chandrasekharan P16-Mar-08 19:29 
GeneralRe: custom control not displaying Pin
Chandrasekharan P16-Mar-08 20:11
Chandrasekharan P16-Mar-08 20:11 
GeneralRe: custom control not displaying Pin
Iain Clarke, Warrior Programmer17-Mar-08 5:31
Iain Clarke, Warrior Programmer17-Mar-08 5:31 
Generalusing SetTimer with Callback Timerproc Pin
jalsa G13-Mar-08 20:33
jalsa G13-Mar-08 20:33 
GeneralRe: using SetTimer with Callback Timerproc Pin
Rajkumar R13-Mar-08 21:22
Rajkumar R13-Mar-08 21:22 
jalsa G wrote:
can any one help me for timer using in c++ consloe application


you need a message loop to dispatch the messages, as WM_TIMER message is anyway queued in the message loop and your console application doesnot have the message loop to extract the message. TimerProc is called back by the default window procedure if you are not handling the WM_TIMER message.

you can add a message loop even in console application to get your TimerProc to be called back.

Creating a Message Loop[^]
GeneralRe: using SetTimer with Callback Timerproc Pin
Cedric Moonen13-Mar-08 21:23
Cedric Moonen13-Mar-08 21:23 
GeneralRe: using SetTimer with Callback Timerproc Pin
CPallini13-Mar-08 23:12
mveCPallini13-Mar-08 23:12 
JokeRe: using SetTimer with Callback Timerproc [OT] Pin
Rajkumar R13-Mar-08 23:23
Rajkumar R13-Mar-08 23:23 
GeneralRe: using SetTimer with Callback Timerproc [OT] Pin
CPallini13-Mar-08 23:42
mveCPallini13-Mar-08 23:42 
GeneralRe: using SetTimer with Callback Timerproc [OT] Pin
Rajkumar R13-Mar-08 23:45
Rajkumar R13-Mar-08 23:45 
GeneralRe: using SetTimer with Callback Timerproc [OT] Pin
jalsa G14-Mar-08 0:06
jalsa G14-Mar-08 0:06 
QuestionHow do you prevent a console application from exiting when it's completed processing? Pin
Brycestro13-Mar-08 20:27
Brycestro13-Mar-08 20:27 
AnswerRe: How do you prevent a console application from exiting when it's completed processing? Pin
Naveen13-Mar-08 20:49
Naveen13-Mar-08 20:49 
AnswerRe: How do you prevent a console application from exiting when it's completed processing? Pin
jhwurmbach14-Mar-08 0:30
jhwurmbach14-Mar-08 0:30 
GeneralRe: How do you prevent a console application from exiting when it's completed processing? Pin
Brycestro15-Mar-08 15:53
Brycestro15-Mar-08 15:53 
QuestionHow can i get the BIOS Information Pin
Anubhava Dimri13-Mar-08 20:27
Anubhava Dimri13-Mar-08 20:27 
AnswerRe: How can i get the BIOS Information Pin
Naveen13-Mar-08 20:47
Naveen13-Mar-08 20:47 
GeneralRe: How can i get the BIOS Information Pin
Anubhava Dimri14-Mar-08 0:42
Anubhava Dimri14-Mar-08 0:42 
QuestionRe: How can i get the BIOS Information Pin
David Crow14-Mar-08 3:18
David Crow14-Mar-08 3:18 
QuestionVPN- How to create a virtual lan using sockets? Pin
NovaNuker13-Mar-08 19:29
NovaNuker13-Mar-08 19:29 
GeneralRe: VPN- How to create a virtual lan using sockets? Pin
Moak14-Mar-08 3:32
Moak14-Mar-08 3:32 
QuestionGG-framework (Now known as 'Garena') Pin
NovaNuker14-Mar-08 18:43
NovaNuker14-Mar-08 18:43 

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.