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 |
|
a a
|
Apr 6, 2006 - 3:20 AM
|
Is it possible to modify the height of column header cells? (Just like OuterRowHeightSet, but for columns.)
|
|
Technical Support
|
Apr 6, 2006 - 11:18 AM
|
The height of the column header cell is defined by the height of the entire row. If your grid control uses the __EGBS_FIXED_SIZE_ROWS style and all the rows have an equal height, invoke grid’s DefaultRowHeightSet() method. If your grid control does not use __EGBS_FIXED_SIZE_ROWS and all the rows have different heights, then you need to get the header cell from a particular rows and set a row height with CExtGridCell::ExtentSet( )of the column header cell. If you need to change the width of the outer header column, you can do this with CExtGridWnd::OuterColumnWidthSet() .
|
|
a a
|
Apr 6, 2006 - 8:13 PM
|
Thanks. Solved by applying __EGBS_FIXED_SIZE_ROWS.
|
|