#84 Add MSG_WM_MOUSEHWHEEL to atlcrack.h

closed-fixed
None
5
2014-02-17
2012-03-18
Sean Cavanaugh
No

#if(_WIN32_WINNT >= 0x0600)

// BOOL OnMouseHWheel(UINT nFlags, SHORT zDelta, CPoint pt)
#define MSG_WM_MOUSEHWHEEL(func) \ if (uMsg == WM_MOUSEHWHEEL) \ { \ SetMsgHandled(TRUE); \ lResult = (LRESULT)func((UINT)LOWORD(wParam), (SHORT)HIWORD(wParam), _WTYPES_NS::CPoint(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam))); \ if(IsMsgHandled()) \ return TRUE; \ }

#endif

Discussion


Anonymous


Cancel   Add attachments