Beispiel #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;
        }
Beispiel #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));
        }
Beispiel #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));
		}
Beispiel #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;
		}