Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Offer Har
|
Feb 29, 2008 - 5:03 AM
|
Dear Support,
I would like to remove the dotted lines between nodes. Can this be done?
Thanks, Ron.
|
|
Offer Har
|
Mar 18, 2008 - 11:08 AM
|
Asking AGAIN:
So I cannot remove the line that comes like from above the beginning of tree? What is then the benefit of having the function OnTreeGridQueryDrawOutline ?
|
|
Offer Har
|
Mar 1, 2008 - 8:39 AM
|
So I cannot remove the line that comes like from above the beginning of tree? What is then the benefit of having the function OnTreeGridQueryDrawOutline ?
|
|
Technical Support
|
Mar 1, 2008 - 8:31 AM
|
The CExtTreeGridWnd::ItemGetRoot() method returns a HTREEITEM handle to the root item which is un-removable. It’s always expanded and it always have a NULL parent item. All the other items can be expanded/collapsed and have non-NULL parent item. So, the outline painting algorithm is exactly the same for any level.
|
|
Offer Har
|
Feb 29, 2008 - 8:00 AM
|
One problem regarding this function: I would like to know if the line drawing is for the first level items, I don’t see the HTREEITEM of the line being drawn, so I don’t know how it get its parent.
I guess it’s the same question of how to get an HTREEITEM from a row & cell -correct?
|
|
Offer Har
|
Feb 29, 2008 - 7:56 AM
|
Got it - OnTreeGridQueryDrawOutline
|
|