2003-11-18 20:49:39 +00:00
|
|
|
#ifndef _WIN32K_WINPOS_H
|
|
|
|
#define _WIN32K_WINPOS_H
|
|
|
|
|
2002-07-04 19:56:38 +00:00
|
|
|
/* Undocumented flags. */
|
|
|
|
#define SWP_NOCLIENTMOVE 0x0800
|
|
|
|
#define SWP_NOCLIENTSIZE 0x1000
|
|
|
|
|
2004-04-13 23:12:30 +00:00
|
|
|
#define IntPtInWindow(WndObject,x,y) \
|
2007-11-15 19:42:41 +00:00
|
|
|
((x) >= (WndObject)->Wnd->WindowRect.left && \
|
|
|
|
(x) < (WndObject)->Wnd->WindowRect.right && \
|
|
|
|
(y) >= (WndObject)->Wnd->WindowRect.top && \
|
|
|
|
(y) < (WndObject)->Wnd->WindowRect.bottom && \
|
2007-11-15 22:08:13 +00:00
|
|
|
(!(WndObject)->WindowRegion || ((WndObject)->Wnd->Style & WS_MINIMIZE) || \
|
2007-11-15 19:42:41 +00:00
|
|
|
NtGdiPtInRegion((WndObject)->WindowRegion, (INT)((x) - (WndObject)->Wnd->WindowRect.left), \
|
|
|
|
(INT)((y) - (WndObject)->Wnd->WindowRect.top))))
|
2004-04-13 23:12:30 +00:00
|
|
|
|
2005-07-18 03:12:01 +00:00
|
|
|
UINT
|
2005-09-05 21:19:23 +00:00
|
|
|
FASTCALL co_WinPosArrangeIconicWindows(PWINDOW_OBJECT parent);
|
2003-12-23 21:33:25 +00:00
|
|
|
BOOL FASTCALL
|
2005-09-07 20:59:26 +00:00
|
|
|
IntGetClientOrigin(PWINDOW_OBJECT Window, LPPOINT Point);
|
2003-12-23 21:13:00 +00:00
|
|
|
LRESULT FASTCALL
|
2005-09-08 16:18:51 +00:00
|
|
|
co_WinPosGetNonClientSize(PWINDOW_OBJECT Window, RECT* WindowRect, RECT* ClientRect);
|
2003-12-23 21:13:00 +00:00
|
|
|
UINT FASTCALL
|
2005-09-05 21:19:23 +00:00
|
|
|
co_WinPosGetMinMaxInfo(PWINDOW_OBJECT Window, POINT* MaxSize, POINT* MaxPos,
|
2002-05-06 22:20:32 +00:00
|
|
|
POINT* MinTrack, POINT* MaxTrack);
|
2003-12-23 21:13:00 +00:00
|
|
|
UINT FASTCALL
|
2005-09-05 21:19:23 +00:00
|
|
|
co_WinPosMinMaximize(PWINDOW_OBJECT WindowObject, UINT ShowFlag, RECT* NewPos);
|
2003-12-23 21:13:00 +00:00
|
|
|
BOOLEAN FASTCALL
|
2005-09-07 20:59:26 +00:00
|
|
|
co_WinPosSetWindowPos(PWINDOW_OBJECT Wnd, HWND WndInsertAfter, INT x, INT y, INT cx,
|
2002-05-06 22:20:32 +00:00
|
|
|
INT cy, UINT flags);
|
2003-05-18 17:16:18 +00:00
|
|
|
BOOLEAN FASTCALL
|
2005-09-07 07:53:31 +00:00
|
|
|
co_WinPosShowWindow(PWINDOW_OBJECT Window, INT Cmd);
|
2003-12-23 21:13:00 +00:00
|
|
|
USHORT FASTCALL
|
2005-09-05 21:19:23 +00:00
|
|
|
co_WinPosWindowFromPoint(PWINDOW_OBJECT ScopeWin, PUSER_MESSAGE_QUEUE OnlyHitTests, POINT *WinPoint,
|
2002-10-31 00:03:31 +00:00
|
|
|
PWINDOW_OBJECT* Window);
|
2005-09-05 21:19:23 +00:00
|
|
|
VOID FASTCALL co_WinPosActivateOtherWindow(PWINDOW_OBJECT Window);
|
2003-11-18 20:49:39 +00:00
|
|
|
|
2005-05-08 02:11:54 +00:00
|
|
|
PINTERNALPOS FASTCALL WinPosInitInternalPos(PWINDOW_OBJECT WindowObject,
|
2004-02-24 13:27:03 +00:00
|
|
|
POINT *pt, PRECT RestoreRect);
|
2003-12-23 18:12:38 +00:00
|
|
|
|
2003-11-18 20:49:39 +00:00
|
|
|
#endif /* _WIN32K_WINPOS_H */
|