Example #1
0
 public static extern int TrackPopupMenu(IntPtr hMenu, int wFlags, int x, int y, int nReserved, IntPtr hwnd,
                                         ref RECT lprc);
Example #2
0
 public static extern int ValidateRect(IntPtr hwnd, ref RECT lpRect);
Example #3
0
 public static extern int SetRect(ref RECT lpRect, int X1, int Y1, int X2, int Y2);
Example #4
0
 public static extern int SubtractRect(ref RECT lprcDst, ref RECT lprcSrc1, ref RECT lprcSrc2);
Example #5
0
 public static extern int RedrawWindow(IntPtr hwnd, ref RECT lprcUpdate, IntPtr hrgnUpdate, int fuRedraw);
Example #6
0
 public static extern int ScrollWindow(IntPtr hwnd, int XAmount, int YAmount, ref RECT lpRect,
                                       ref RECT lpClipRect);
Example #7
0
 public static extern int GetClientRect(IntPtr hwnd, ref RECT lpRect);
Example #8
0
 public static extern int OffsetRect(ref RECT lpRect, int x, int y);
Example #9
0
 public static extern int EqualRect(ref RECT lpRect1, ref RECT lpRect2);
Example #10
0
 public static extern int FrameRect(IntPtr hdc, ref RECT lpRect, IntPtr hBrush);
Example #11
0
 public static extern int DrawTextEx(IntPtr hdc, string lpsz, int n, ref RECT lpRect, int un,
                                     ref DRAWTEXTPARAMS lpDrawTextParams);
Example #12
0
 public static extern int DrawText(IntPtr hdc, string lpStr, int nCount, ref RECT lpRect, int wFormat);
Example #13
0
 public static extern int DrawFrameControl(IntPtr hdc, ref RECT lpRect, int un1, int un2);
Example #14
0
 public static extern int DrawFocusRect(IntPtr hdc, ref RECT lpRect);
Example #15
0
 public static extern int GetClipCursor(out RECT lprc);
Example #16
0
 public static extern int MapDialogRect(IntPtr hDlg, ref RECT lpRect);
Example #17
0
 public static extern int GetMenuItemRect(IntPtr hwnd, IntPtr hMenu, int uItem, ref RECT lprcItem);
Example #18
0
 public static extern int PtInRect(ref RECT lpRect, int ptX, int ptY);
Example #19
0
 public static extern int GetUpdateRect(IntPtr hwnd, ref RECT lpRect, int bErase);
Example #20
0
 public static extern int ScrollDC(IntPtr hdc, int dx, int dy, ref RECT lprcScroll, ref RECT lprcClip,
                                   IntPtr hrgnUpdate, ref RECT lprcUpdate);
Example #21
0
 public static extern int GetWindowRect(IntPtr hwnd, ref RECT lpRect);
Example #22
0
 public static extern int ScrollWindowEx(IntPtr hwnd, int dx, int dy, ref RECT lprcScroll, ref RECT lprcClip,
                                         IntPtr hrgnUpdate, ref RECT lprcUpdate, int fuScroll);
Example #23
0
 public static extern int InflateRect(ref RECT lpRect, int x, int y);
Example #24
0
 public static extern int SetRectEmpty(ref RECT lpRect);
Example #25
0
 public static extern int IntersectRect(ref RECT lpDestRect, ref RECT lpSrc1Rect, ref RECT lpSrc2Rect);
Example #26
0
 public static extern short TileWindows(IntPtr hwndParent, int wHow, ref RECT lpRect, int cKids, ref int lpKids);
Example #27
0
 public static extern int InvalidateRect(IntPtr hwnd, ref RECT lpRect, int bErase);
Example #28
0
 public static extern int UnionRect(ref RECT lpDestRect, ref RECT lpSrc1Rect, ref RECT lpSrc2Rect);
Example #29
0
 public static extern int InvertRect(IntPtr hdc, ref RECT lpRect);
Example #30
0
 private Win32.RECT GetWindowRect()
 {
     Win32.RECT result = default(Win32.RECT);
     Win32.User.GetWindowRect(this.Id, ref result);
     return(result);
 }
Example #31
0
 public static extern int DrawEdge(IntPtr hdc, ref RECT qrc, int edge, int grfFlags);