2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2003-11-18 20:49:39 +00:00
|
|
|
|
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) \
|
2009-07-20 23:18:16 +00:00
|
|
|
((x) >= (WndObject)->Wnd->rcWindow.left && \
|
|
|
|
(x) < (WndObject)->Wnd->rcWindow.right && \
|
|
|
|
(y) >= (WndObject)->Wnd->rcWindow.top && \
|
|
|
|
(y) < (WndObject)->Wnd->rcWindow.bottom && \
|
2010-01-10 07:50:57 +00:00
|
|
|
(!(WndObject)->hrgnClip || ((WndObject)->Wnd->style & WS_MINIMIZE) || \
|
|
|
|
NtGdiPtInRegion((WndObject)->hrgnClip, (INT)((x) - (WndObject)->Wnd->rcWindow.left), \
|
2009-07-20 23:18:16 +00:00
|
|
|
(INT)((y) - (WndObject)->Wnd->rcWindow.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
|
2009-03-19 01:42:34 +00:00
|
|
|
co_WinPosGetNonClientSize(PWINDOW_OBJECT Window, RECTL* WindowRect, RECTL* 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
|
2009-03-19 01:42:34 +00:00
|
|
|
co_WinPosMinMaximize(PWINDOW_OBJECT WindowObject, UINT ShowFlag, RECTL* 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
|
|
|
|
2007-11-21 05:35:33 +00:00
|
|
|
VOID FASTCALL WinPosInitInternalPos(PWINDOW_OBJECT WindowObject,
|
2009-03-19 01:42:34 +00:00
|
|
|
POINT *pt, RECTL *RestoreRect);
|