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 |
|
Rado Manzela
|
Mar 19, 2007 - 3:06 AM
|
I’m using CExtGridWnd - derived class in my project. The problem is when I put some cells into control, vertical scroll bar is not displayed (there are more lines than can be displayed). Only horizontal. After I scroll the grid down using arrow keys or resize it (it is placed in resizable dialog) then vertical scroll bar appears. What could be the problem? I’ve also tried to implement srcollbars using this: http://www.prof-uis.com/FAQView.aspx?CID=107#FAQ513 But it worked the same way althought scroll bars are themed now. Call to Invalidate() or OnSwRecalcLayout( true ); after filling in data did not help. Any idea ? Thank you!
|
|
Rado Manzela
|
Mar 19, 2007 - 8:37 AM
|
|
|
Suhai Gyorgy
|
Mar 19, 2007 - 3:54 AM
|
You should call OnSwUpdateScrollBars(); , as Help says: "Recalculates the scroll bar state including its visibility, current page size and scroll button (thumb) position." In some cases you may also need to call OnSwDoRedraw();
|
|