Message cracker for WM_MOUSEHWHEEL

2012-09-28
2013-05-13
  • Tsuda Kageyu
    Tsuda Kageyu
    2012-09-28

    Do you have the plan to add a message cracker for  WM_MOUSEHWHEEL like this?

    // 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; \
        }
    
     
  • Yes, it will be added, soon.

    Thanks,
    Nenad