WM_CTLCOLORSTATIC = $0138;
當一個靜態控件將要被繪制時發送此消息給它的父窗口;通過響應這條消息,所有者窗口可以通過使用給定的相關顯示設備的句柄來設置靜態控件的文本和背景顏色
WM_MOUSEFIRST = $0200;
WM_MOUSEMOVE = $0200;
// 移動鼠標
WM_LBUTTONDOWN = $0201;
//按下鼠標左鍵
WM_LBUTTONUP = $0202;
//釋放鼠標左鍵
WM_LBUTTONDBLCLK = $0203;
//雙擊鼠標左鍵
WM_RBUTTONDOWN = $0204;
//按下鼠標右鍵
WM_RBUTTONUP = $0205;
//釋放鼠標右鍵
WM_RBUTTONDBLCLK = $0206;
//雙擊鼠標右鍵
WM_MBUTTONDOWN = $0207;
//按下鼠標中鍵
WM_MBUTTONUP = $0208;
//釋放鼠標中鍵
WM_MBUTTONDBLCLK = $0209;
//雙擊鼠標中鍵
WM_MOUSEWHEEL = $020A;
當鼠標輪子轉動時發送此消息個當前有焦點的控件
WM_MOUSELAST = $020A;
WM_PARENTNOTIFY = $0210;
當MDI子窗口被創建或被銷毀,或用戶按了一下鼠標鍵而光標在子窗口上時發送此消息給它的父窗口
WM_ENTERMENULOOP = $0211;
發送此消息通知應用程序的主窗口that已經進入了菜單循環模式
WM_EXITMENULOOP = $0212;
發送此消息通知應用程序的主窗口that已退出了菜單循環模式
WM_NEXTMENU = $0213;
WM_SIZING = 532;
當用戶正在調整窗口大小時發送此消息給窗口;通過此消息應用程序可以監視窗口大小和位置也可以修改他們
WM_CAPTURECHANGED = 533;
發送此消息 給窗口當它失去捕獲的鼠標時;
WM_MOVING = 534;
當用戶在移動窗口時發送此消息,通過此消息應用程序可以監視窗口大小和位置也可以修改他們;
WM_POWERBROADCAST = 536;
此消息發送給應用程序來通知它有關電源管理事件;
WM_DEVICECHANGE = 537;
當設備的硬件配置改變時發送此消息給應用程序或設備驅動程序
WM_IME_STARTCOMPOSITION = $010D;
WM_IME_ENDCOMPOSITION = $010E;
WM_IME_COMPOSITION = $010F;
WM_IME_KEYLAST = $010F;
WM_IME_SETCONTEXT = $0281;
WM_IME_NOTIFY = $0282;
WM_IME_CONTROL = $0283;
WM_IME_COMPOSITIONFULL = $0284;
WM_IME_SELECT = $0285;
WM_IME_CHAR = $0286;
WM_IME_REQUEST = $0288;
WM_IME_KEYDOWN = $0290;
WM_IME_KEYUP = $0291;
WM_MDICREATE = $0220;
應用程序發送此消息給多文檔的客戶窗口來創建一個MDI 子窗口
WM_MDIDESTROY = $0221;
應用程序發送此消息給多文檔的客戶窗口來關閉一個MDI 子窗口
WM_MDIACTIVATE = $0222;
應用程序發送此消息給多文檔的客戶窗口通知客戶窗口激活另一個MDI子窗口,當客戶窗口收到此消息後,它發出WM_MDIACTIVE消息給MDI子窗口(未激活)激活它;
WM_MDIRESTORE = $0223;
程序 發送此消息給MDI客戶窗口讓子窗口從最大最小化恢復到原來大小
WM_MDINEXT = $0224;
程序 發送此消息給MDI客
戶窗口激活下一個或前一個窗口
WM_MDIMAXIMIZE = $0225;
程序發送此消息給MDI客戶窗口來最大化一個MDI子窗口;
WM_MDITILE = $0226;
程序 發送此消息給MDI客戶窗口以平鋪方式重新排列所有MDI子窗口
WM_MDICASCADE = $0227;
程序 發送此消息給MDI客戶窗口以層疊方式重新排列所有MDI子窗口
WM_MDIICONARRANGE = $0228;
程序 發送此消息給MDI客戶窗口重新排列所有最小化的MDI子窗口
WM_MDIGETACTIVE = $0229;
程序 發送此消息給MDI客戶窗口來找到激活的子窗口的句柄
WM_MDISETMENU = $0230;
程序 發送此消息給MDI客戶窗口用MDI菜單代替子窗口的菜單
WM_ENTERSIZEMOVE = $0231;
WM_EXITSIZEMOVE = $0232;
WM_DROPFILES = $0233;
WM_MDIREFRESHMENU = $0234;
WM_MOUSEHOVER = $02A1;
WM_MOUSELEAVE = $02A3;
WM_CUT = $0300;
程序發送此消息給一個編輯框或combobox來刪除當前選擇的文本
WM_COPY = $0301;
程序發送此消息給一個編輯框或combobox來復制當前選擇的文本到剪貼板
WM_PASTE = $0302;
程序發送此消息給editcontrol或combobox從剪貼板中得到數據
WM_CLEAR = $0303;
%26