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 |
|
Offer Har
|
Apr 19, 2007 - 11:32 AM
|
Dear Support,
I have a function which adds a row to a grid, as follows:
void CMyGrid::AddRow() { RowAdd(1, false); // Here I do my manipulations.. OnSwDoRedraw(); }
The problem is that the scroll-bar is not displayed when needed or adjusted with the extra line unless I resize the grid. What am I missing?
Thanks, Ron.
|
|
Technical Support
|
Apr 20, 2007 - 8:08 AM
|
Please invoke OnSwUpdateScrollBars() before OnSwDoRedraw() .
|
|
Suhai Gyorgy
|
Apr 20, 2007 - 1:42 AM
|
Place these before OnSwDoRedraw():
OnSwRecalcLayout( true ); OnSwUpdateScrollBars();
|
|