
Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
Dear Carlos,
I am sorry, but I don't understand how to use your code.
As you wrote, I do need a double click for a "remaining zone", but only a
single click for +.
Thanks a lot,
Boni
> There is no easy way to differentiate the "+" from the remaining zone, but
> anyway the "+" requires only a single click, not a double click. The code
[quoted text clipped - 30 lines]
>>
>> Boni
Carlos J. Quintero [.NET MVP] - 29 Jun 2005 14:37 GMT
You must derive a class TreeViewEx from Treeview and put that code inside.
What I meant is that since "+" requires only a single click, likely users
won´t double-click on that zone, you I would not worry about that, but if
you really want, the TVM_HITTEST message will tell you:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platfor
m/commctls/treeview/messages/tvm_hittest.asp

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
> Dear Carlos,
> I am sorry, but I don't understand how to use your code.
> As you wrote, I do need a double click for a "remaining zone", but only a
> single click for +.
> Thanks a lot,
> Boni