vb 有关SendMessage函数中参数wMsg的问题

2024-12-26 10:07:48
推荐回答(2个)
回答1:

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:

&=就是两个数先做与操作 然后赋值