No right-click notify for CXTPTreeBase |
Post Reply |
Author | |
xsensordev
Groupie Joined: 19 August 2021 Location: Canada Status: Offline Points: 24 |
Post Options
Thanks(0)
Posted: 20 September 2021 at 2:19pm |
Toolkit Pro 20.0.0 I'm not able to receive a right-click event (used for context menu purposes) with any CXTPTreeBase derived tree controls. The CXTPTreeBase::OnRButtonDown handler in XTPTreeBase.cpp comments out the NM_RCLICK notification.
I can put this back in for my copy of Toolkit Pro, but its not clear as to why it was removed in the first place. |
|
xsensordev
Groupie Joined: 19 August 2021 Location: Canada Status: Offline Points: 24 |
Post Options
Thanks(0)
|
For the record, Codejock's commented out notify code in CXTPTreeBase doesn't work because the m_pTreeCtrl is owned by the CXTPTreeBase derived control and not the window on which the control is placed. However this works:
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |