传递消息时 的wParam,lParam参数的拼接方法

Height << 16 | Width;code

//拼接,能够用下面的宏
MAKEWPARAM
MAKELPARAM

// 拆分
int low = (short)LOWORD(wParam);
int high = (short)HIWORD(wParam);
相关文章
相关标签/搜索