basically as it states..
I have this case where I have the bottom of a treeview anchored to its parent (a Form) and when sizing the parent the treeview can get taller than the number of items in the list showing and thus the scrollbar will disappear.
At this point I want to limit the form's ability to grow any taller because it does not paint the background after that point. I am custom drawing all the items but using the provided coordinates supplied in the Item Draw events of course.
There does not seem to be any direct way to determine if the scrollbars are showing etc.
Also I tried the TVM_HITTEST by sending it a message, that does not work on my windows 10 PC for some reason.. ? I send the message to the control and it never populates the info record nor does it generate any errors ?
In any case, anyone know how to determine if the scrollbar is showing ? in a TreeView ?