Hi,
I have a requirement of getting bounding rectangle for a treeitem in a treeview. The treeview control used is a VB6 treeview (TreeView20WndClass).
I came across TVM_GETITEMRECT. But, it says that if wParam is true, it will get rectangle only for the text part and if it is false, it will get rectangle for the entire line that the item occupies in the tree-view control.
But, I want to get the rectangle the region including both text part and icon. I am unable to find a way for this.
Or is it possible to get the rectangle for the icon?
Any help is highly appreciated.
Regards,
kvk1985