I've derived a class from CListCtrl and added a ON_WM_RBUTTONUP handler. Problem is it only gets called if I double-right-mouse-button-click. Any ideas? I'm trying to implement a context sensitive menu for the control.
Thanks,
David Saulnier
Printable View
I've derived a class from CListCtrl and added a ON_WM_RBUTTONUP handler. Problem is it only gets called if I double-right-mouse-button-click. Any ideas? I'm trying to implement a context sensitive menu for the control.
Thanks,
David Saulnier
the list control has notify reflect messages
NM_RCLICK
NM_CLICK
that get sent instead of WM_ON_RBUTTONUP & WM_ON_LBUTTONUP. Handle these messages instead.
--michael