Populate without changing focus / ensure visible |
Post Reply |
Author | |
inmaurik
Groupie Joined: 13 July 2007 Location: Netherlands Status: Offline Points: 17 |
Post Options
Thanks(0)
Posted: 09 April 2009 at 3:33am |
I'm using the Report control to show information from the database. The control is filled with an initial set of data and when the user scrolls down the next data is added to the control. This however prompts me with a problem. To add the rows to the control I have to call populate.
When I do this the current selection gots lost because Populate wants to set the selection back to the selected record in stead of the selected row (e.g. a group row) or when there is no selection the top row is set. Is there a way to re-populate the control and set back the current selected row (without ensuring visibility) or when no selected row is present, leave it that way? |
|
Product: Xtreme SuitePro (MFC) version 13.3.1
Platform: Windows 7 Enterprise (64bit) Language: C++ (Visual Studio 2008 SP1) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |