예제 #1
0
 public static extern bool GetWindowRect(IntPtr hWnd, ref RECTAPI rect);
예제 #2
0
 public static extern int InvertRect(IntPtr hDC, ref RECTAPI rect);
예제 #3
0
 public static extern bool DrawFocusRect(IntPtr hWnd, ref RECTAPI rect);
예제 #4
0
파일: Win32Window.cs 프로젝트: itsbth/GLuaR
 private static extern bool GetWindowRect(IntPtr hwnd, ref RECTAPI rectangle);
예제 #5
0
 private static extern bool GetWindowRect(IntPtr hwnd, ref RECTAPI rectangle);
예제 #6
0
 public static extern int GetClipBox(IntPtr hDC, ref RECTAPI rectBox);
예제 #7
0
 public static extern int DrawThemeText(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, string pszText, int iCharCount, uint dwTextFlags, uint dwTextFlags2, [MarshalAs(UnmanagedType.Struct)] ref RECTAPI rect);
예제 #8
0
 public static extern int InvertRect(IntPtr hDC, ref RECTAPI rect);
예제 #9
0
 public static extern bool DrawFocusRect(IntPtr hWnd, ref RECTAPI rect);
예제 #10
0
 public static extern int DrawText(IntPtr hDC, string lpString, int nCount, ref RECTAPI Rect, int wFormat);
예제 #11
0
 public static extern int FillRect(IntPtr hDC, ref RECTAPI rect, IntPtr hBrush);
예제 #12
0
 public static extern int GetClipBox(IntPtr hDC, ref RECTAPI rectBox);
예제 #13
0
 public static extern IntPtr CreateRectRgnIndirect(ref RECTAPI rect);
예제 #14
0
 private static extern bool GetClientRect(IntPtr hwnd, ref RECTAPI rectangle);
예제 #15
0
 public static extern bool InvalidateRect(IntPtr hWnd, ref RECTAPI rect, bool erase);
예제 #16
0
 public static extern bool GetWindowRect(IntPtr hWnd, ref RECTAPI rect);
예제 #17
0
 public static extern IntPtr CreateRectRgnIndirect(ref RECTAPI rect);
예제 #18
0
 public static extern bool InvalidateRect(IntPtr hWnd, ref RECTAPI rect, bool erase);
예제 #19
0
 public static extern int DrawThemeBackground(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, ref RECTAPI rect, ref RECTAPI clipRect);
예제 #20
0
 public static extern int DrawText(IntPtr hDC, string lpString, int nCount, ref RECTAPI Rect, int wFormat);
예제 #21
0
파일: Win32Window.cs 프로젝트: itsbth/GLuaR
 private static extern bool GetClientRect(IntPtr hwnd, ref RECTAPI rectangle);
예제 #22
0
 public static extern int FillRect(IntPtr hDC, ref RECTAPI rect, IntPtr hBrush);
예제 #23
0
		private void RenderBorder()
		{
            IntPtr hdc = NativeUser32Api.GetWindowDC(this.Handle);
            RECTAPI s = new RECTAPI();
            NativeUser32Api.GetWindowRect(this.Handle, ref s);

			using (Graphics g = Graphics.FromHdc(hdc))
			{
				DrawingTools.DrawBorder((ControlBorderStyle) (int) this.BorderStyle, this.BorderColor, g, new Rectangle(0, 0, s.Width, s.Height));
			}
            NativeUser32Api.ReleaseDC(this.Handle, hdc);
		}
예제 #24
0
 public static extern int DrawThemeBackground(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, ref RECTAPI rect, ref RECTAPI clipRect);