Exemplo n.º 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;
        }
Exemplo n.º 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));
        }
Exemplo n.º 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));
		}
Exemplo n.º 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;
		}