本文整理汇总了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);