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 |
|
Martin Baumgaertner
|
Jul 31, 2007 - 8:20 AM
|
Hello,
based on the sample app "SimpleGrid" I have a question concerning the "Cell Data Aligning" style:
is it possible to customize the style of the outer bottom rows in a way that simulates a splitted window, i.e. scrolling the upper part is possible as usual, while the results are displayed permanently in the static bottom part. The latter should have a cell style similar to the upper part and not being - like the default seems to be - of type CExtGridCellHeader .
Martin
|
|
Martin Baumgaertner
|
Aug 2, 2007 - 1:48 AM
|
Thank you!
But unfortunately after having changed the background color with ... pCell->BackColorSet(CExtGridCell::__ECS_NORMAL, COLORREF( RGB(250,250,250) ) );
... I got rid of the grid lines seperating the cells. How can I get those back? Martin
|
|
Technical Support
|
Aug 2, 2007 - 2:49 PM
|
It seems this is a bug and it needs to be fixed, but at the moment you can override the CExtGridCell::OnPaintBackground() method and paint the cell background with the currently specified color yourself.
|
|
Technical Support
|
Aug 1, 2007 - 11:43 AM
|
The outer header cells always have a different style than the inner cells. But you can manually change the background color using the CExtGridCell::BackColorSet() method.
|
|