Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » CExtGridWnd position Collapse All
Subject Author Date
Jason Blackston Jan 6, 2009 - 10:12 PM

When I add items to the control I can’t seem to figure out how to have the viewable window move with it so that the last inserted item is at the bottom and always visible. What function should I call to do that?

Technical Support Jan 8, 2009 - 10:15 AM

First of all, the edited/added grid cells often need to be focused. The CExtGridBaseWnd::FocusSet() method allows you to make a grid cell displayed. If you need to display some grid cell without changing focus/selection then you should use the CExtGridBaseWnd::EnsureVisibleColumn() and CExtGridBaseWnd::EnsureVisibleRow() methods.