GregDuncan
07-19-2003, 01:45 AM
I have a problem with a treeview control.
I want to diferentiate between when the user clicks on the text of the node and the nodes icon so that I can provide different functionality for each.
i looked at using GetCursorPos but because the treeview is indented and could scroll you cant predict a point of reference.
does anyone know how to do this?
I thinking perhaps subclassing but im new to that so not sure what the events would be to trap for.
any feedback welcome.
thanks
I want to diferentiate between when the user clicks on the text of the node and the nodes icon so that I can provide different functionality for each.
i looked at using GetCursorPos but because the treeview is indented and could scroll you cant predict a point of reference.
does anyone know how to do this?
I thinking perhaps subclassing but im new to that so not sure what the events would be to trap for.
any feedback welcome.
thanks