I'm not sure I understand completely what you are trying to do. It sounds as if you are simply trying to scroll the table programmatically. Is that true? If not, maybe you can attach a simple screenshot, which might help me visualize the problem.
If you are trying to scroll the table programmatically, the standard way of doing that is by using SetCtrlAttribute (...,ATTR_FIRST_VISIBLE_ROW, <row number>)
Let me know if this is what you had in mind.