在SendMessage函數wMsg 表示被發送的消息。根據具體需求和不同的對象,將不同的消息作為實參傳送,以產生預期的動作自動拉出下拉列表 Const CB_SHOWDROPDOWN=&H14F添加水平滾動條,const LB_SETHORIZONTALEXTENT=&H194我想問的是等號右邊的怎么理解?&H14F、&H194 看不懂 這些從那里可查到的? 謝謝各位
2 回答

牛魔王的故事
TA貢獻1830條經驗 獲得超3個贊
SendMessage 是 API 函數 吧
都是些 定義 的 常數
&H 不是 16進制數
CWindow::SendMessage
LRESULT SendMessage( UINT message, WPARAM wParam = 0, LPARAM lParam = 0 );
static LRESULT SendMessage( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam )
SeeSendMessage in the Win32 SDK.
Remarks
Sends a message to the window and does not return until the window procedure has processed the message.
- 2 回答
- 0 關注
- 231 瀏覽
添加回答
舉報
0/150
提交
取消