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 » row height in CExtGridWnd Collapse All
Subject Author Date
Offer Har Jan 19, 2011 - 7:51 AM

Dear Support,

We need to change the row height in CExtGridWnd in all of our grids. We tried overriding DefaultRowHeightGet, but it only changed the height of the title row (top row) what function do we need to use for changing the other rows?



Technical Support Jan 20, 2011 - 2:25 AM

The CExtGridWnd::OnSiwQueryItemExtentV() virtual method returns the height of data rows. It uses the DefaultRowHeightGet() method only if the FixedSizeRowsGet() method returns true. I.e. if the __EGBS_FIXED_SIZE_ROWS style is applied.
The CExtGridBaseWnd::OuterRowHeightGet() method returns the height of outer header rows. It uses the DefaultRowHeightGet() method by default.

Offer Har Jan 20, 2011 - 6:57 AM