Click here to Skip to main content
15,906,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thank You Everybody! Pin
ThatsAlok22-Nov-05 0:25
ThatsAlok22-Nov-05 0:25 
GeneralRe: Thank You Everybody! Pin
Axonn Echysttas22-Nov-05 2:51
Axonn Echysttas22-Nov-05 2:51 
GeneralRe: Thank You Everybody! Pin
Owner drawn22-Nov-05 1:04
Owner drawn22-Nov-05 1:04 
GeneralOT Pin
toxcct22-Nov-05 1:10
toxcct22-Nov-05 1:10 
GeneralRe: OT Pin
Axonn Echysttas22-Nov-05 2:49
Axonn Echysttas22-Nov-05 2:49 
GeneralRe: OT Pin
Owner drawn22-Nov-05 17:26
Owner drawn22-Nov-05 17:26 
GeneralRe: OT Pin
Owner drawn22-Nov-05 17:26
Owner drawn22-Nov-05 17:26 
QuestionMessage loop Question Pin
RaajaOfSelf21-Nov-05 18:47
RaajaOfSelf21-Nov-05 18:47 
As i have understood the message loop dispatches messages synchronously.i.e it executes the handler to that message and then moves to another message .
Also ,Sendmessage(MESSAGE1) call is synchronous i.e. it executes the handler for MESSAGE1 and then returns.

WIth this assumption ,iam posting this question.
Let's say i have handled the KEYDOWN message as OnKeyDown().
I do this

OnKeyDOwn()
{
SendMessage(WM_MOUSEMove...)

}
Iam expecting that SendMessage() as opposed to PostMessage should create a deadlock as it executes synchronously-Its trying to execute /put the message in the same loop from where it was called .But it does not happen .Can Somebody explain this ?
Does this mean SendMessage() does not post the message in the message loop ,but directly calls WndProc() or something like that ?



Cause is my effort;
Effect is God's effort

-- modified at 0:48 Tuesday 22nd November, 2005
AnswerRe: Message loop Question Pin
Cool Ju21-Nov-05 19:51
Cool Ju21-Nov-05 19:51 
GeneralSorry ,this does not answer my question Pin
RaajaOfSelf21-Nov-05 20:20
RaajaOfSelf21-Nov-05 20:20 
GeneralRe: Sorry ,this does not answer my question Pin
Cool Ju21-Nov-05 21:42
Cool Ju21-Nov-05 21:42 
GeneralRe: Sorry ,this does not answer my question Pin
RaajaOfSelf21-Nov-05 22:29
RaajaOfSelf21-Nov-05 22:29 
QuestionAsk for help : About PropertyPage Pin
chenxiujie21-Nov-05 18:19
chenxiujie21-Nov-05 18:19 
AnswerRe: Ask for help : About PropertyPage Pin
khan++21-Nov-05 18:43
khan++21-Nov-05 18:43 
Questioninter-program communication Pin
Roy K21-Nov-05 18:17
Roy K21-Nov-05 18:17 
AnswerRe: inter-program communication Pin
kakan21-Nov-05 19:01
professionalkakan21-Nov-05 19:01 
AnswerRe: inter-program communication Pin
ThatsAlok22-Nov-05 0:33
ThatsAlok22-Nov-05 0:33 
Questiondisable parent window Pin
Nishad S21-Nov-05 17:59
Nishad S21-Nov-05 17:59 
AnswerRe: disable parent window Pin
khan++21-Nov-05 19:03
khan++21-Nov-05 19:03 
GeneralRe: disable parent window Pin
Nishad S21-Nov-05 19:18
Nishad S21-Nov-05 19:18 
GeneralRe: disable parent window Pin
khan++21-Nov-05 19:35
khan++21-Nov-05 19:35 
GeneralRe: disable parent window Pin
Nishad S21-Nov-05 19:38
Nishad S21-Nov-05 19:38 
GeneralRe: disable parent window Pin
khan++21-Nov-05 19:53
khan++21-Nov-05 19:53 
GeneralRe: disable parent window Pin
Nishad S21-Nov-05 19:59
Nishad S21-Nov-05 19:59 
AnswerRe: disable parent window Pin
Owner drawn21-Nov-05 19:31
Owner drawn21-Nov-05 19:31 

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.