Click here to Skip to main content
15,909,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: basic_string constructor Pin
George_George26-Feb-08 14:04
George_George26-Feb-08 14:04 
GeneralProblem in Closing a file window. Pin
Sanjay K25-Feb-08 23:09
Sanjay K25-Feb-08 23:09 
GeneralRe: Problem in Closing a file window. Pin
ramana.g25-Feb-08 23:33
ramana.g25-Feb-08 23:33 
GeneralRe: Problem in Closing a file window. Pin
Jeet_IT_in25-Feb-08 23:46
Jeet_IT_in25-Feb-08 23:46 
GeneralRe: Problem in Closing a file window. Pin
Rajesh R Subramanian26-Feb-08 0:03
professionalRajesh R Subramanian26-Feb-08 0:03 
QuestionRe: Problem in Closing a file window. Pin
David Crow26-Feb-08 3:29
David Crow26-Feb-08 3:29 
GeneralReceived the Message With SMTP ( Get Mail ) Pin
MmTurner25-Feb-08 22:03
MmTurner25-Feb-08 22:03 
GeneralRe: Received the Message With SMTP ( Get Mail ) Pin
Tarmo Kalda25-Feb-08 23:08
Tarmo Kalda25-Feb-08 23:08 
GeneralRe: Received the Message With SMTP ( Get Mail ) Pin
David Crow26-Feb-08 3:29
David Crow26-Feb-08 3:29 
GeneralWM_TIMER message never arrives [modified] Pin
Hanan88825-Feb-08 21:59
Hanan88825-Feb-08 21:59 
QuestionRe: WM_TIMER message never arrives Pin
Rajkumar R25-Feb-08 22:27
Rajkumar R25-Feb-08 22:27 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88825-Feb-08 22:38
Hanan88825-Feb-08 22:38 
GeneralRe: WM_TIMER message never arrives Pin
Rajkumar R25-Feb-08 23:59
Rajkumar R25-Feb-08 23:59 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88826-Feb-08 0:20
Hanan88826-Feb-08 0:20 
GeneralRe: WM_TIMER message never arrives Pin
Rajkumar R26-Feb-08 0:41
Rajkumar R26-Feb-08 0:41 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88826-Feb-08 0:57
Hanan88826-Feb-08 0:57 
Thanks again.

Rajkumar R wrote:
in your rendering loop, you can find the elapsed time since last time message posted and find out the delay. And if you find that delay you actually don't need to post message, you can call the handler for WM_TIMER directly in the rendering loop.


Yes, in rendering I check the time now and calculate the delay or something like that (some other from my team implemented these stuff).

But what I need is triggering some GUI and rendering and business-logic events, orchestrating them with time delays.

And it all worked before something got funky.
All messages (PAINT, LBUTTONDOWN,...) go exactly where I need them.
PostMessage(m_hWnd,WM_TIMER,SPECIFIC_CONST,NULL); get where I expect it to go.
only SetTimer(m_hWnd,SPECIFIC_CONST,1000,NULL)
never get to the case WM_TIMER:

Rajkumar R wrote:
but still i am convinced why SetTimer() is not working.


Do you mean you're still not convinced ?
GeneralRe: WM_TIMER message never arrives Pin
ramana.g25-Feb-08 22:30
ramana.g25-Feb-08 22:30 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88825-Feb-08 22:42
Hanan88825-Feb-08 22:42 
GeneralRe: WM_TIMER message never arrives Pin
KarstenK25-Feb-08 22:41
mveKarstenK25-Feb-08 22:41 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88825-Feb-08 22:47
Hanan88825-Feb-08 22:47 
GeneralRe: WM_TIMER message never arrives Pin
Michael Schubert25-Feb-08 22:43
Michael Schubert25-Feb-08 22:43 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88825-Feb-08 22:52
Hanan88825-Feb-08 22:52 
GeneralRe: WM_TIMER message never arrives Pin
ramana.g25-Feb-08 22:59
ramana.g25-Feb-08 22:59 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88825-Feb-08 23:07
Hanan88825-Feb-08 23:07 
GeneralRe: WM_TIMER message never arrives Pin
Tarmo Kalda25-Feb-08 23:13
Tarmo Kalda25-Feb-08 23:13 

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.