コード例 #1
0
ファイル: HDC.cs プロジェクト: Trezamere/Practices
 public bool FillRect(ref RECT rect, COLOR color)
 {
     return FillRect(this, ref rect, (int)color + 1);
 }
コード例 #2
0
ファイル: HDC.cs プロジェクト: Trezamere/Practices
 private static extern bool FillRect(HDC hDC, ref RECT lprc, int color);
コード例 #3
0
ファイル: HDC.cs プロジェクト: Trezamere/Practices
 public bool FillRect(ref RECT rect, HBRUSH brush)
 {
     return FillRect(this, ref rect, brush);
 }
コード例 #4
0
ファイル: HDC.cs プロジェクト: Trezamere/Practices
 private static extern bool FillRect(HDC hDC, ref RECT lprc, HBRUSH hbr);
コード例 #5
0
ファイル: NativeMethods.cs プロジェクト: Trezamere/Practices
 public static extern bool AdjustWindowRectEx(ref RECT lpRect, WS style, bool bMenu, WS_EX exStyle);
コード例 #6
0
ファイル: NativeMethods.cs プロジェクト: Trezamere/Practices
 public static extern bool GetWindowRect(HWND hwnd, ref RECT lpRect);
コード例 #7
0
ファイル: NativeMethods.cs プロジェクト: Trezamere/Practices
 public static extern bool GetClientRect(HWND hwnd, ref RECT lpRect);
コード例 #8
0
ファイル: NativeMethods.cs プロジェクト: Trezamere/Practices
 public static extern int DrawText(IntPtr hDC, string lpString, int nCount, ref RECT lpRect, DT uFormat);