SetTopRow and Vert ScrollBar, help me!!! |
Post Reply |
Author | |
yezi09
Newbie Joined: 28 October 2009 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 30 July 2010 at 4:57am |
int nTopRow = m_wndReport.GetTopRowIndex();
m_wndReport.Populate(); m_wndReport.SetTopRow(nTopRow);
When drog the scrollbar, and then run this code. The report row will scroll in the nTopRow, but the vert scrollbar will scroll to the selected row.
The first image is before drog the scrollbar, the second image is after drog. Pay attention to the scrollbar, the scrollbar is return to the first row that was focused. I need the scrollbar don't scroll to the select row. How can I do? Plz help me.
|
|
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 |