Hello,
Here are some additions to windowev.h that allow handling xbutton 1 and 2 and horizontal mouse wheel events:
Add below EV_WM_MBUTTONUP:
#define EV_WM_XBUTTONDOWN\ {{WM_XBUTTONDOWN}, 0, (::owl::TAnyDispatcher) ::owl::v_U_POINT_Dispatch,\ (TMyPMF)::owl::v_U_POINT_Sig<TMyClass>(&TMyClass::EvXButtonDown)} #define EV_WM_XBUTTONUP\ {{WM_XBUTTONUP}, 0, (::owl::TAnyDispatcher) ::owl::v_U_POINT_Dispatch,\ (TMyPMF)::owl::v_U_POINT_Sig<TMyClass>(&TMyClass::EvXButtonUp)} #define EV_WM_XBUTTONDBLCLK\ {{WM_XBUTTONDBLCLK}, 0, (::owl::TAnyDispatcher) ::owl::v_U_POINT_Dispatch,\ (TMyPMF)::owl::v_U_POINT_Sig<TMyClass>(&TMyClass::EvXButtonDblClk)}
Add below EV_WM_MOUSEWHEEL:
#define EV_WM_MOUSEHWHEEL\ {{WM_MOUSEHWHEEL}, 0, (::owl::TAnyDispatcher) ::owl::B_U_i_POINT_Dispatch,\ (TMyPMF)::owl::B_U_i_POINT_Sig<TMyClass>(&TMyClass::EvMouseHWheel)}
Thanks, Paul
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Hi Paul,
Thanks for your contribution! For horizontal mouse wheel support, Jogy has now created and implemented ticket "Add handler for WM_MOUSEHWHEEL" [feature-requests:#117], so upcoming 6.44 will have support for this mouse message.
Feature Requests: #117
Hello,
Here are some additions to windowev.h that allow handling xbutton 1 and 2 and horizontal mouse wheel events:
Add below EV_WM_MBUTTONUP:
Add below EV_WM_MOUSEWHEEL:
Thanks,
Paul
Hi Paul,
Thanks for your contribution! For horizontal mouse wheel support, Jogy has now created and implemented ticket "Add handler for WM_MOUSEHWHEEL" [feature-requests:#117], so upcoming 6.44 will have support for this mouse message.
Related
Feature Requests:
#117