2 * *DeferWindowPos() structure and definitions
4 * Copyright 1994 Alexandre Julliard
7 #ifndef __WINE_WINPOS_H
8 #define __WINE_WINPOS_H
12 #define DWP_MAGIC ((INT)('W' | ('P' << 8) | ('O' << 16) | ('S' << 24)))
14 /* undocumented SWP flags - from SDK 3.1 */
15 #define SWP_NOCLIENTSIZE 0x0800
16 #define SWP_NOCLIENTMOVE 0x1000
18 /* Wine extra SWP flag */
19 #define SWP_WINE_NOHOSTMOVE 0x80000000
21 struct tagWINDOWPOS16
;
33 extern BOOL
WINPOS_RedrawIconTitle( HWND hWnd
);
34 extern BOOL
WINPOS_ShowIconTitle( WND
* pWnd
, BOOL bShow
);
35 extern void WINPOS_GetMinMaxInfo( WND
* pWnd
, POINT
*maxSize
,
36 POINT
*maxPos
, POINT
*minTrack
,
38 extern UINT
WINPOS_MinMaximize( WND
* pWnd
, UINT16 cmd
, LPRECT16 lpPos
);
39 extern BOOL
WINPOS_SetActiveWindow( HWND hWnd
, BOOL fMouse
,
41 extern BOOL
WINPOS_ChangeActiveWindow( HWND hwnd
, BOOL mouseMsg
);
42 extern LONG
WINPOS_SendNCCalcSize(HWND hwnd
, BOOL calcValidRect
,
43 RECT
*newWindowRect
, RECT
*oldWindowRect
,
44 RECT
*oldClientRect
, WINDOWPOS
*winpos
,
45 RECT
*newClientRect
);
46 extern LONG
WINPOS_HandleWindowPosChanging16(WND
*wndPtr
, struct tagWINDOWPOS16
*winpos
);
47 extern LONG
WINPOS_HandleWindowPosChanging(WND
*wndPtr
, WINDOWPOS
*winpos
);
48 extern INT16
WINPOS_WindowFromPoint( WND
* scopeWnd
, POINT16 pt
, WND
**ppWnd
);
49 extern void WINPOS_CheckInternalPos( WND
* wndPtr
);
50 extern BOOL
WINPOS_ActivateOtherWindow(WND
* pWnd
);
51 extern BOOL
WINPOS_CreateInternalPosAtom(void);
53 #endif /* __WINE_WINPOS_H */