本文整理匯總了C#中Win32.RECT類的典型用法代碼示例。如果您正苦於以下問題:C# RECT類的具體用法?C# RECT怎麽用?C# RECT使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
RECT類屬於Win32命名空間,在下文中一共展示了RECT類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: RECT
public RECT(RECT r)
{
this.Left = r.Left;
this.Top = r.Top;
this.Right = r.Right;
this.Bottom = r.Bottom;
}
示例2: DrawFocusRect
public static extern int DrawFocusRect(HDC hdc, ref RECT lpRect);
示例3: UnionRect
public static extern int UnionRect(ref RECT lpDestRect, ref RECT lpSrc1Rect, ref RECT lpSrc2Rect);
示例4: TileWindows
public static extern short TileWindows(HWND hwndParent, int wHow, ref RECT lpRect, int cKids, ref int lpKids);
示例5: SetRectEmpty
public static extern int SetRectEmpty(ref RECT lpRect);
示例6: ScrollWindowEx
public static extern int ScrollWindowEx(HWND hwnd, int dx, int dy, ref RECT lprcScroll, ref RECT lprcClip, HANDLE hrgnUpdate, ref RECT lprcUpdate, int fuScroll);
示例7: ScrollDC
public static extern int ScrollDC(HDC hdc, int dx, int dy, ref RECT lprcScroll, ref RECT lprcClip, HANDLE hrgnUpdate, ref RECT lprcUpdate);
示例8: PtInRect
public static extern int PtInRect(ref RECT lpRect, int ptX, int ptY);
示例9: GetClipCursor
public static extern int GetClipCursor(out RECT lprc);
示例10: GetClientRect
public static extern int GetClientRect(HWND hwnd, ref RECT lpRect);
示例11: FrameRect
public static extern int FrameRect(HDC hdc, ref RECT lpRect, HANDLE hBrush);
示例12: EqualRect
public static extern int EqualRect(ref RECT lpRect1, ref RECT lpRect2);
示例13: DrawTextEx
public static extern int DrawTextEx(HWND hdc, string lpsz, int n, ref RECT lpRect, int un, ref DRAWTEXTPARAMS lpDrawTextParams);
示例14: DrawText
public static extern int DrawText(HDC hdc, string lpStr, int nCount, ref RECT lpRect, int wFormat);
示例15: DrawFrameControl
public static extern int DrawFrameControl(HWND hdc, ref RECT lpRect, int un1, int un2);