コード例 #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
ファイル: Win32Window.cs プロジェクト: ummerland/FireBall
 private static extern bool GetWindowRect(IntPtr hwnd, ref RECTAPI rectangle);
コード例 #6
0
ファイル: NativeGdi32Api.cs プロジェクト: westybsa/MP.LSharp
 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
ファイル: NativeUser32Api.cs プロジェクト: viticm/pap2
 public static extern int InvertRect(IntPtr hDC, ref RECTAPI rect);
コード例 #9
0
ファイル: NativeUser32Api.cs プロジェクト: viticm/pap2
 public static extern bool DrawFocusRect(IntPtr hWnd, ref RECTAPI rect);
コード例 #10
0
ファイル: NativeUser32Api.cs プロジェクト: viticm/pap2
 public static extern int DrawText(IntPtr hDC, string lpString, int nCount, ref RECTAPI Rect, int wFormat);
コード例 #11
0
ファイル: NativeUser32Api.cs プロジェクト: viticm/pap2
 public static extern int FillRect(IntPtr hDC, ref RECTAPI rect, IntPtr hBrush);
コード例 #12
0
ファイル: NativeGdi32Api.cs プロジェクト: weimingtom/pap2
 public static extern int GetClipBox(IntPtr hDC, ref RECTAPI rectBox);
コード例 #13
0
ファイル: NativeGdi32Api.cs プロジェクト: weimingtom/pap2
 public static extern IntPtr CreateRectRgnIndirect(ref RECTAPI rect);
コード例 #14
0
ファイル: Win32Window.cs プロジェクト: ummerland/FireBall
 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
ファイル: NativeUser32Api.cs プロジェクト: viticm/pap2
 public static extern bool GetWindowRect(IntPtr hWnd, ref RECTAPI rect);
コード例 #17
0
ファイル: NativeGdi32Api.cs プロジェクト: westybsa/MP.LSharp
 public static extern IntPtr CreateRectRgnIndirect(ref RECTAPI rect);
コード例 #18
0
ファイル: NativeUser32Api.cs プロジェクト: viticm/pap2
 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
ファイル: Widget.cs プロジェクト: westybsa/MP.LSharp
		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
ファイル: NativeThemeApi.cs プロジェクト: westybsa/MP.LSharp
 public static extern int DrawThemeBackground(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, ref RECTAPI rect, ref RECTAPI clipRect);