windows游戏编程鼠标
①、常用鼠标消息:
WM_MOUSEMOVE 鼠标移动位置
WM_LBUTTONDOWN 鼠标左键按下
WM_LBUTTONUP 鼠标左键弹起
WM_LBUTTONDBLCLK 鼠标左键双击
WM_RBUTTONDOWN 鼠标右键按下
WM_RBUTTONUP 鼠标右键弹起
WM_RBUTTONDBLCLK 鼠标右键双击
WM_MBUTTONDOWN 鼠标中键按下
WM_MBUTTONUP 鼠标中键弹起
WM_MBUTTONDBLCLK 鼠标中键双击
WM_MOUSEWHEEL 鼠标滚轮滚动
WM_NCMOUSEMOVE 鼠标非客户区移动位置
WM_NCHITTEST 鼠标击中测试消息