[DllImport("User32.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern IntPtr SendMessage(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam);
 
        public void PageDown()
        {
            SendMessage(this.Handle, 0x0115, (IntPtr)3, IntPtr.Zero);
        }
 
        public void PageUp()
        {
            SendMessage(this.Handle, 0x0115, (IntPtr)2, IntPtr.Zero);
        }
 
        public void PageBottom()
        {
            SendMessage(this.Handle, 0x0115, (IntPtr)7, IntPtr.Zero);
        }
 
        public void PageTop()
        {
            SendMessage(this.Handle, 0x0115, (IntPtr)6, IntPtr.Zero);
        }
 
注:This 指控件

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-08
  • 2021-11-23
  • 2021-06-21
  • 2021-04-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案