Professional UI Solutions
Site Map   /  Register


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.

Forums » Prof-UIS Tech Support » How do I make CExtTreeGridWnd look like CExtGridWnd Collapse All
Subject Author Date
Alastair Watts Nov 16, 2010 - 9:06 AM

How do I remove the dotted lines & expand button from a tree grid?

Technical Support Nov 17, 2010 - 2:42 AM

The CExtTreeGridWnd::OnTreeGridQueryColumnOutline() method defines which column(s) should display a tree outline. The CExtTreeGridWnd::OnTreeGridQueryDrawOutline() virtual method defines whether the outline lines should be painted. The CExtTreeGridWnd::OnTreeGridPaintExpandButton() virtual method paints a tree box. You can override any of these methods and:

1) Hide the tree outline and boxes at all, display it in any column or even in several columns.
2) Hide tree lines anywhere.
3) Hide tree boxes anywhere.