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 General Discussion » How do I programmatically change the width of a column in the CExtTreeGridWnd Collapse All
Subject Author Date
Kevin Eshbach May 10, 2011 - 2:10 PM



How do I programmatically change the width of a column in the CExtTreeGridWnd?  I don’t see any call in the header file to force the resize of a column.


 


Kevin Eshbach

Technical Support May 11, 2011 - 7:23 AM

Prof-UIS grid supports variable column widths. The outer header cells at top or bottom are used to store minimal/current/maximal column widths. The grid controls try finding the outer header cell at top first, then at bottom. If a header cell is found, its CExtGridCell::ExtentGet() method is invoked to get column widths. The CExtGridCell::ExtentSet() method should be invoked to set the column width programmatically.