1. 程式人生 > >windows 窗口過程 線程消息隊列

windows 窗口過程 線程消息隊列

chm .com thread microsoft gis for loop register poi https

message loop

window procedure

message loop:

a for loop in thread or winmain

   GetMessage, TranslateMessage, 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()

windows 窗口過程 線程消息隊列