Home > Back-end >  New beginner Windows programming, puzzled
New beginner Windows programming, puzzled

Time:09-29

Look at the Windows programming fifth edition of former chapters, get dizzy with messaging!
The book says, process applications usually does not directly call window, window procedure are almost have Windows calls itself,
The book said, dispatchmessage () will be distributed message to the window procedure,

So: dispatchmessage () function is return the message to the system, make the system to call window procedure;
Or the dispatchmessage () function sends a message to the window procedure directly?

If the dispatchmessage () function to return the message to the system, make the system to invoke the window procedure, why use the getmessage () get news, and then return the message to circle a circle!

If the dispatchmessage () function sends a message to the window procedure directly, that feeling is the program itself calls the window procedure.

CodePudding user response:


"A simple MFC" speaks to this very detailed inside

CodePudding user response:

reference 1st floor silverpot response:
"is a simple MFC" speaks to this very detailed inside

Excuse me, can specify in which chapter of the book that day?