3 #define IntPtInWindow(WndObject,x,y) \
4 ((x) >= (WndObject)->rcWindow.left && \
5 (x) < (WndObject)->rcWindow.right && \
6 (y) >= (WndObject)->rcWindow.top && \
7 (y) < (WndObject)->rcWindow.bottom && \
8 (!(WndObject)->hrgnClip || ((WndObject)->style & WS_MINIMIZE) || \
9 NtGdiPtInRegion((WndObject)->hrgnClip, (INT)((x) - (WndObject)->rcWindow.left), \
10 (INT)((y) - (WndObject)->rcWindow.top))))
12 #define IntPtInRect(lprc,pt) \
13 ((pt.x >= (lprc)->left) && (pt.x < (lprc)->right) && (pt.y >= (lprc)->top) && (pt.y < (lprc)->bottom))
16 FASTCALL
co_WinPosArrangeIconicWindows(PWND parent
);
18 IntGetClientOrigin(PWND Window
, LPPOINT Point
);
20 co_WinPosGetNonClientSize(PWND Window
, RECTL
* WindowRect
, RECTL
* ClientRect
);
22 co_WinPosGetMinMaxInfo(PWND Window
, POINT
* MaxSize
, POINT
* MaxPos
,
23 POINT
* MinTrack
, POINT
* MaxTrack
);
25 co_WinPosMinMaximize(PWND WindowObject
, UINT ShowFlag
, RECTL
* NewPos
);
27 co_WinPosSetWindowPos(PWND Wnd
, HWND WndInsertAfter
, INT x
, INT y
, INT cx
,
30 co_WinPosShowWindow(PWND Window
, INT Cmd
);
32 co_WinPosSendSizeMove(PWND Window
);
34 co_WinPosWindowFromPoint(PWND ScopeWin
, POINT
*WinPoint
, USHORT
* HitTest
);
35 VOID FASTCALL
co_WinPosActivateOtherWindow(PWND Window
);
37 VOID FASTCALL
WinPosInitInternalPos(PWND WindowObject
,
38 POINT
*pt
, RECTL
*RestoreRect
);