windows 窗口过程 线程消息队列
message loop
window procedure
message loop:
a for loop in thread or winmain
GetMessage, TranslateMessage, and DispatchMessage
get the message
Dispatches a message to a window procedure. ----- winproc
WindowProc callback function
An application-defined function that processes messages sent to a window. The WNDPROC type defines a pointer to this callback function.
窗口过程:创建窗口后之指定。registerclass()