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 |
|
David Skok
|
Apr 24, 2008 - 8:51 AM
|
When I include a drop down or elipsis button in cells in a ReportGridWnd and set the extent for the item such that the height of the row is much greater than the default, the button grows to the size of the extent and looks ridiculous. How could I keep the vertical dimension of the button the same as it is without the extent changed? Thanks, Dave
|
|
Technical Support
|
Apr 24, 2008 - 1:35 PM
|
You can do that in this way:
1) Override CExtGridCell::OnCalcLayout() . 2) In this overridden method, invoke the parent class’s method and modify the button rectangles computed by default.
|
|