Click here to Skip to main content
15,899,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88825-Feb-08 23:25
Hanan88825-Feb-08 23:25 
GeneralRe: WM_TIMER message never arrives Pin
Michael Schubert25-Feb-08 23:01
Michael Schubert25-Feb-08 23:01 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88825-Feb-08 23:09
Hanan88825-Feb-08 23:09 
GeneralRe: WM_TIMER message never arrives Pin
ramana.g25-Feb-08 23:22
ramana.g25-Feb-08 23:22 
GeneralRe: WM_TIMER message never arrives Pin
Hanan88825-Feb-08 23:31
Hanan88825-Feb-08 23:31 
AnswerRe: WM_TIMER message never arrives Pin
Hanan88826-Feb-08 2:21
Hanan88826-Feb-08 2:21 
QuestionHow to draw a 3D cube w/o graphics library. Pin
relsirc25-Feb-08 21:55
relsirc25-Feb-08 21:55 
GeneralRe: How to draw a 3D cube w/o graphics library. Pin
Matthew Faithfull25-Feb-08 22:54
Matthew Faithfull25-Feb-08 22:54 

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.