2 * *DeferWindowPos() structure and definitions
4 * Copyright 1994 Alexandre Julliard
7 #ifndef __WINE_WINPOS_H
8 #define __WINE_WINPOS_H
17 /* undocumented SWP flags - from SDK 3.1 */
18 #define SWP_NOCLIENTSIZE 0x0800
19 #define SWP_NOCLIENTMOVE 0x1000
21 /* Wine extra SWP flag */
22 #define SWP_WINE_NOHOSTMOVE 0x80000000
24 struct tagWINDOWPOS16
;
26 extern BOOL
WINPOS_RedrawIconTitle( HWND hWnd
);
27 extern BOOL
WINPOS_ShowIconTitle( struct tagWND
* pWnd
, BOOL bShow
);
28 extern void WINPOS_GetMinMaxInfo( struct tagWND
* pWnd
, POINT
*maxSize
,
29 POINT
*maxPos
, POINT
*minTrack
,
31 extern BOOL
WINPOS_SetActiveWindow( HWND hWnd
, BOOL fMouse
,
33 extern BOOL
WINPOS_ChangeActiveWindow( HWND hwnd
, BOOL mouseMsg
);
34 extern LONG
WINPOS_SendNCCalcSize(HWND hwnd
, BOOL calcValidRect
,
35 RECT
*newWindowRect
, RECT
*oldWindowRect
,
36 RECT
*oldClientRect
, WINDOWPOS
*winpos
,
37 RECT
*newClientRect
);
38 extern LONG
WINPOS_HandleWindowPosChanging16(struct tagWND
*wndPtr
, struct tagWINDOWPOS16
*winpos
);
39 extern LONG
WINPOS_HandleWindowPosChanging(struct tagWND
*wndPtr
, WINDOWPOS
*winpos
);
40 extern HWND
WINPOS_WindowFromPoint( HWND hwndScope
, POINT pt
, INT
*hittest
);
41 extern void WINPOS_CheckInternalPos( struct tagWND
* wndPtr
);
42 extern BOOL
WINPOS_ActivateOtherWindow(struct tagWND
* pWnd
);
43 extern BOOL
WINPOS_CreateInternalPosAtom(void);
45 #endif /* __WINE_WINPOS_H */