How can i catch a right mouseclick on an arrayctrl? I have a popup-menu which i can open on left mouseclick by using this code
array.WhenLeftClick = THISBACK(SOME_FUNCTION);
But there is no WhenRightClick...?
Michael
Well, right-click handling is reserved for context menu via WhenBar.
You you really need "naked" right-clicks, you have to derive your own class from ArrayCtrl and override RightDown (calling ArrayCtrl::RightDown at the beginning).