Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » Indent of CExtTreeGridWnd Collapse All
Subject Author Date
David Skok Sep 19, 2007 - 9:29 AM

Is it possible to set the indent of CExtTreeGrid items?

Thanks, Dave

Technical Support Sep 19, 2007 - 12:03 PM

There is a CExtTreeGridWnd::OnGbwAdjustRects() virtual method in which the summary indent of each row is calculated. This summary indent includes the indent of the row and indents of its parent rows. The HTREEITEM row handle actually corresponds to the CExtTreeGridCellNode* pointer. You can set a unique indent for each tree row in pixels by invoking the CExtTreeGridCellNode::TreeNodeIndentPxSet() method.