From a43c82a16bf29951cc7913cbff1808098e648d96 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 30 May 2018 22:28:38 +0300 Subject: added handler for right click --- src/mir_core/src/CCtrlTreeView.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mir_core') diff --git a/src/mir_core/src/CCtrlTreeView.cpp b/src/mir_core/src/CCtrlTreeView.cpp index 4c7daa0cfd..f4cc156483 100644 --- a/src/mir_core/src/CCtrlTreeView.cpp +++ b/src/mir_core/src/CCtrlTreeView.cpp @@ -253,6 +253,7 @@ BOOL CCtrlTreeView::OnNotify(int, NMHDR *pnmh) TEventInfo evt = { this, pnmh }; switch (pnmh->code) { + case NM_RCLICK: OnRightClick(&evt); return TRUE; case TVN_BEGINLABELEDIT: OnBeginLabelEdit(&evt); return TRUE; case TVN_BEGINRDRAG: OnBeginRDrag(&evt); return TRUE; case TVN_DELETEITEM: OnDeleteItem(&evt); return TRUE; -- cgit v1.2.3