1. 程式人生 > >SendMessage函數與MSDN系統預定義消息

SendMessage函數與MSDN系統預定義消息

asp 定義 選中 cti nbsp window ros .com com

SendMessage function

https://msdn.microsoft.com/en-us/library/windows/desktop/ms644950%28v=vs.85%29.aspx

系統預定義消息

https://msdn.microsoft.com/en-us/library/windows/desktop/ms644927%28v=vs.85%29.aspx#system_defined

使復選框按鈕選中

#define BM_SETCHECK 0x00F1

#define BST_CHECKED 0x0001

SendMessage(hwnd, BM_SETCHECK, BST_CHECKED, 0);

SendMessage函數與MSDN系統預定義消息