Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent Expand in CTreeCtrl

Status
Not open for further replies.

d00ape

Programmer
Apr 2, 2003
171
0
0
SE
I’m about to implement multi-select in my derived CTreeCtrl class. I have problem with the default expand behaviour of the CTreeCtrl.

1. I only want the tree to expand when left clicking (not right clicking) it
2. I only want the tree to expand when clicking the plus-sign (not the item text)

All tips are welcomed!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top