Re: Bypass DispatchMessage
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Tue, 23 Jan 2007 15:30:47 -0500
"Kevin" <kevin11@xxxxxxxxxxx> wrote in message
news:e9%23wUsyPHHA.1380@xxxxxxxxxxxxxxxxxxxxxxx
I was wondering, is it okay to *not* call DispatchMessage for a message
retrieved by GetMessage? If TranslateMessage is called, must
DispatchMessage be called?
No, it's not OK in general. TranslateMessage() takes keystroke messages and
from then composes WM_CHAR messages. DispatchMessage() takes messages and
passes them to the proper window procedure.
My guess is that whatever is working for you is working only because sent
(not posted) messages are getting routed properly while at the same time not
much of any importance is being posted.
Regards,
Will
www.ivrforbeginners.com
.
- Follow-Ups:
- Re: Bypass DispatchMessage
- From: Ad Infinitum
- Re: Bypass DispatchMessage
- From: Gary Chanson
- Re: Bypass DispatchMessage
- References:
- Bypass DispatchMessage
- From: Kevin
- Bypass DispatchMessage
- Prev by Date: Bypass DispatchMessage
- Next by Date: Re: Calculating Virtual Memory Fragmentation
- Previous by thread: Bypass DispatchMessage
- Next by thread: Re: Bypass DispatchMessage
- Index(es):
Relevant Pages
|