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: