diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-30 22:28:38 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-30 22:28:47 +0300 |
commit | a43c82a16bf29951cc7913cbff1808098e648d96 (patch) | |
tree | dc284a05b91a91e07586344980fa7c8f3f7314e7 /src/mir_core | |
parent | 12990ca30567e4b7a9c4f9f598f226de2c25eaa3 (diff) |
added handler for right click
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/src/CCtrlTreeView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |