[DllImport("user32.dll")]
public static extern int SetScrollPos(IntPtr hWnd, int nBar, int nPos, bool bRedraw);
[DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)]
public static extern int GetScrollPos(int hWnd, int nBar);
所以这些是我用来移动滚动位置的外部变量,我在做什么,是我获取当前位置,并添加或减去确切数量的像素,并且我的表单上的滚动条完全按照我想要的方式移动,但是控件中的内容保持静止。这里有什么问题?