windows 窗口过程 线程消息队列

message loop

window procedure

 

message loop:

      a for loop in thread or winmain

   GetMessageTranslateMessage, and DispatchMessage

GetMessage:

  get the message

DispatchMessage:

  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()

 

posted @ 2017-06-07 16:39  shinymood  阅读(265)  评论(0编辑  收藏  举报