Discussion:
How to find out if Treeview item is expanded?
(too old to reply)
j***@yahoo.com
2010-07-21 13:09:10 UTC
Permalink
Raw Message
This may be a simple question, but I can't seem to find the answer.
Note that it is not enough to see if any of the children are visible.
All immediate children may be outside the scroll area and only some
(great) grandchildren may be visible.
Kevin English
2010-07-21 14:14:01 UTC
Permalink
Raw Message
Post by j***@yahoo.com
This may be a simple question, but I can't seem to find the answer.
Note that it is not enough to see if any of the children are visible.
All immediate children may be outside the scroll area and only some
(great) grandchildren may be visible.
TVM_GETITEM with TVIS_EXPANDED
--
Kevin English
Ivo Beltchev
2010-07-21 14:10:06 UTC
Permalink
Raw Message
Try TreeView_GetItemState. Look for the TVIS_EXPANDED state.
Post by j***@yahoo.com
This may be a simple question, but I can't seem to find the answer.
Note that it is not enough to see if any of the children are visible.
All immediate children may be outside the scroll area and only some
(great) grandchildren may be visible.
Loading...