G
Guest
It seems that when I dynamically resize items in a tree-view control, using TVM_SETITEM and the TVITEMEX iIntegral member, things go awry. The window draws properly, but it seems like the RECTs for the HTREEITEMs are not updating properly. This is espeically true if I update the size of an individual HTREEITEM more than once -- making it larger, and then smaller again. The tree view's scroll bar no longer works correctly -- it doesn't scroll to the true bottom of the tree view. The TVM_GETITEMRECT message returns the wrong value. TVM_HITTEST and TVN_BEGINLABELEDIT also behave incorrectly.
This is not an MFC or WTL/ATL tree view control -- it has been created with CreateWindowEx(0, WC_TREEVIEW,...) and is manipulated entirely with SendMessage()s.
Anything I can do to work around or fix? Is this a bug in the library, or am I doing something doofusy? Either seems possible to me right now.
This is not an MFC or WTL/ATL tree view control -- it has been created with CreateWindowEx(0, WC_TREEVIEW,...) and is manipulated entirely with SendMessage()s.
Anything I can do to work around or fix? Is this a bug in the library, or am I doing something doofusy? Either seems possible to me right now.