Te dejo un post que parece algo relacionado :
este . Tambien, usando la ayuda de delphi sobre
THitTest, se encuentra esto
Cita:
Unit
Comctrls
type
THitTest = (htAbove, htBelow, htNowhere, htOnItem, htOnButton, htOnIcon, htOnIndent, htOnLabel, htOnRight, htOnStateIcon, htToLeft, htToRight);
THitTests = set of THitTest;
Description
THitTests is a set of THitTest values. THitTest can have any of the following values:
Value Means the point is
htAbove Above the client area.
htBelow Below the client area.
htNowhere Inside the control, but not on an item.
htOnItem On an item, its text, or its bitmap.
htOnButton On a button.
htOnIcon On an icon.
htOnIndent On the indented area of an item.
htOnLabel On a label.
htOnRight On the right side of an item.
htOnStateIcon On a state icon or bitmap associated with an item.
htToLeft To the left of the client area.
htToRight To the right of the client area.
|
creo q con una combinacion del GetHitTestInfoAt (en el mensaje anterior sale como usarlo) usando como hittest, por ejemplo, el htOnRight o el htOnIndent, deberias solucionarlo. De igual manera he buscado rapidamente. Creo que he visto bastantes variaciones del treeview, aqui en el foro, con el codigo fuente, asi que es posible que este solucionado
venga un saludo y suerte