Release 990226.
[wine/gsoc-2012-control.git] / include / winpos.h
blob66bbcecbcdf24c868d59420d7e6eac7755e4b5c2
1 /*
2 * *DeferWindowPos() structure and definitions
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_WINPOS_H
8 #define __WINE_WINPOS_H
10 #include "win.h"
11 #include "wine/winuser16.h" /* for WINDOWPOS16 */
13 #define DWP_MAGIC ((INT)('W' | ('P' << 8) | ('O' << 16) | ('S' << 24)))
15 /* undocumented SWP flags - from SDK 3.1 */
16 #define SWP_NOCLIENTSIZE 0x0800
17 #define SWP_NOCLIENTMOVE 0x1000
19 typedef struct
21 INT actualCount;
22 INT suggestedCount;
23 BOOL valid;
24 INT wMagic;
25 HWND hwndParent;
26 WINDOWPOS winPos[1];
27 } DWP;
29 extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
30 extern BOOL WINPOS_ShowIconTitle( WND* pWnd, BOOL bShow );
31 extern void WINPOS_GetMinMaxInfo( WND* pWnd, POINT *maxSize,
32 POINT *maxPos, POINT *minTrack,
33 POINT *maxTrack );
34 extern UINT16 WINPOS_MinMaximize( WND* pWnd, UINT16 cmd, LPRECT16 lpPos);
35 extern BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse,
36 BOOL fChangeFocus );
37 extern BOOL WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
38 extern LONG WINPOS_SendNCCalcSize(HWND hwnd, BOOL calcValidRect,
39 RECT *newWindowRect, RECT *oldWindowRect,
40 RECT *oldClientRect, WINDOWPOS *winpos,
41 RECT *newClientRect );
42 extern LONG WINPOS_HandleWindowPosChanging16(WND *wndPtr, WINDOWPOS16 *winpos);
43 extern LONG WINPOS_HandleWindowPosChanging(WND *wndPtr, WINDOWPOS *winpos);
44 extern INT16 WINPOS_WindowFromPoint( WND* scopeWnd, POINT16 pt, WND **ppWnd );
45 extern void WINPOS_CheckInternalPos( WND* wndPtr );
46 extern BOOL WINPOS_ActivateOtherWindow(WND* pWnd);
47 extern BOOL WINPOS_CreateInternalPosAtom(void);
49 #endif /* __WINE_WINPOS_H */