Moved most of the implementation of SetWindowPos and SetDrawable into
[wine/multimedia.git] / include / winpos.h
blobf43523c74476f03e34fa583e6ed34cf911a8a7bd
1 /*
2 * *DeferWindowPos() structure and definitions
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_WINPOS_H
8 #define __WINE_WINPOS_H
10 #include "windef.h"
11 #include "winbase.h"
12 #include "wingdi.h"
13 #include "winuser.h"
15 struct tagWND;
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,
30 POINT *maxTrack );
31 extern UINT WINPOS_MinMaximize( struct tagWND* pWnd, UINT16 cmd, LPRECT16 lpPos);
32 extern BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse,
33 BOOL fChangeFocus );
34 extern BOOL WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
35 extern LONG WINPOS_SendNCCalcSize(HWND hwnd, BOOL calcValidRect,
36 RECT *newWindowRect, RECT *oldWindowRect,
37 RECT *oldClientRect, WINDOWPOS *winpos,
38 RECT *newClientRect );
39 extern LONG WINPOS_HandleWindowPosChanging16(struct tagWND *wndPtr, struct tagWINDOWPOS16 *winpos);
40 extern LONG WINPOS_HandleWindowPosChanging(struct tagWND *wndPtr, WINDOWPOS *winpos);
41 extern INT16 WINPOS_WindowFromPoint( struct tagWND* scopeWnd, POINT16 pt, struct tagWND **ppWnd );
42 extern void WINPOS_CheckInternalPos( struct tagWND* wndPtr );
43 extern BOOL WINPOS_ActivateOtherWindow(struct tagWND* pWnd);
44 extern BOOL WINPOS_CreateInternalPosAtom(void);
46 #endif /* __WINE_WINPOS_H */