RE: Disabling Mouse-Clicks on a TreeView
- Posted by Derek Parnell <ddparnell at bigpond.com> Sep 14, 2006
- 516 views
You need to trap WM_NOTIFY messages for the control and look for NM_CLICK NM_DBLCLICK NM_RCLICK notifications. If you return a non-zero to the WM_NOTIFY message then Windows will ignore the mouse event. -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell