![]() |
|
phGantTimePackage FAQ 10449How can I tell which nodes in my tree are visible to the user? Please note that this article
refers to the phGantTimePackage Jump to article- 2006-01-17 23:07:00 - Email plexityHide Question How can I tell which nodes in my tree are visible to the user? When the user expands a node, I would like to be able to adjust the display so that all the sub-nodes of that node are visible (without the user having to scroll up or down to see them). Or is there a way of getting the Gant control to adjust the display automatically? I would ideally like the tree to work like the tree in Windows Explorer. Answer Both the phGantTimePackage and GTP.NET returns a rectangle of -1,-1,-1,-1 for the grid rect of cells that has not been drawn (because they are not currently on screen). In phGantTimePackage you can use the IphGantRow3.GetRect method The same applies to individual cells (that they return a -1 rect if not currently on screen).
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |