傳遞消息時 的wParam,lParam參數的拼接方法

Height << 16 | Width;code

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

// 拆分
int low = (short)LOWORD(wParam);
int high = (short)HIWORD(wParam);
相關文章
相關標籤/搜索