Пример #1
0
        public static unsafe void RichTextBox_GetScrollPos(HWND handle, out int x, out int y)
        {
            Win32.POINT point = new Win32.POINT();

            Win32.SendMessage(handle, Win32.EM_GETSCROLLPOS, new IntPtr(0), new IntPtr(&point));
            x = point.x;
            y = point.y;
        }
Пример #2
0
        public static unsafe void RichTextBox_SetScrollPos(HWND handle, int x, int y)
        {
            Win32.POINT point = new Win32.POINT(x, y);

            Win32.SendMessage(handle, Win32.EM_SETSCROLLPOS, new IntPtr(0), new IntPtr(&point));
        }
Пример #3
0
        public static unsafe void RichTextBox_SetScrollPos(HWND handle, int x, int y)
		{
			Win32.POINT point = new Win32.POINT(x, y);

			Win32.SendMessage(handle, Win32.EM_SETSCROLLPOS, new IntPtr(0), new IntPtr(&point));
		}
Пример #4
0
        public static unsafe void RichTextBox_GetScrollPos(HWND handle, out int x, out int y)
		{
			Win32.POINT point = new Win32.POINT();

			Win32.SendMessage(handle, Win32.EM_GETSCROLLPOS, new IntPtr(0), new IntPtr(&point));
			x = point.x;
			y = point.y;
		}