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 struct tagWINDOWPOS16
;
30 extern BOOL
WINPOS_RedrawIconTitle( HWND hWnd
);
31 extern BOOL
WINPOS_ShowIconTitle( WND
* pWnd
, BOOL bShow
);
32 extern void WINPOS_GetMinMaxInfo( WND
* pWnd
, POINT
*maxSize
,
33 POINT
*maxPos
, POINT
*minTrack
,
35 extern UINT
WINPOS_MinMaximize( WND
* pWnd
, UINT16 cmd
, LPRECT16 lpPos
);
36 extern BOOL
WINPOS_SetActiveWindow( HWND hWnd
, BOOL fMouse
,
38 extern BOOL
WINPOS_ChangeActiveWindow( HWND hwnd
, BOOL mouseMsg
);
39 extern LONG
WINPOS_SendNCCalcSize(HWND hwnd
, BOOL calcValidRect
,
40 RECT
*newWindowRect
, RECT
*oldWindowRect
,
41 RECT
*oldClientRect
, WINDOWPOS
*winpos
,
42 RECT
*newClientRect
);
43 extern LONG
WINPOS_HandleWindowPosChanging16(WND
*wndPtr
, struct tagWINDOWPOS16
*winpos
);
44 extern LONG
WINPOS_HandleWindowPosChanging(WND
*wndPtr
, WINDOWPOS
*winpos
);
45 extern INT16
WINPOS_WindowFromPoint( WND
* scopeWnd
, POINT16 pt
, WND
**ppWnd
);
46 extern void WINPOS_CheckInternalPos( WND
* wndPtr
);
47 extern BOOL
WINPOS_ActivateOtherWindow(WND
* pWnd
);
48 extern BOOL
WINPOS_CreateInternalPosAtom(void);
50 #endif /* __WINE_WINPOS_H */