Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - SetTopRow and Vert ScrollBar, help me!!!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SetTopRow and Vert ScrollBar, help me!!!

 Post Reply Post Reply
Author
Message
yezi09 View Drop Down
Newbie
Newbie


Joined: 28 October 2009
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote yezi09 Quote  Post ReplyReply Direct Link To This Post Topic: SetTopRow and Vert ScrollBar, help me!!!
    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.
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.