windows sends a message to a window by calling the window procedure. the window procedure does some processing based on the message and then returns control to windows.
这个窗口过程是一个既可以出现在程序中又可以出现在动态链接库中的函数。
in your window procedure you check the message and it's parameters, and do whatever you want with them!
在你的窗口过程中,你检查消息,和它的参数,并你想让它做的事!
handle to the window whose window procedure receives the message.
一个窗口的句柄(资源的标识,类似指针)。(操作接受到消息的窗口)
the mfc common window procedure automatically switches to the correct module state, so you do not need to worry about it in any message handlers implemented in your regular dll.