Now attaching imported DLLs of a winelib executable.
[wine/hacks.git] / include / winpos.h
blob9a32f4d316946ef55b5a6c560dd97f34d620c40f
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"
12 struct tagWND;
14 #define DWP_MAGIC ((INT)('W' | ('P' << 8) | ('O' << 16) | ('S' << 24)))
16 /* undocumented SWP flags - from SDK 3.1 */
17 #define SWP_NOCLIENTSIZE 0x0800
18 #define SWP_NOCLIENTMOVE 0x1000
20 /* Wine extra SWP flag */
21 #define SWP_WINE_NOHOSTMOVE 0x80000000
23 struct tagWINDOWPOS16;
25 typedef struct
27 INT actualCount;
28 INT suggestedCount;
29 BOOL valid;
30 INT wMagic;
31 HWND hwndParent;
32 WINDOWPOS winPos[1];
33 } DWP;
35 extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
36 extern BOOL WINPOS_ShowIconTitle( struct tagWND* pWnd, BOOL bShow );
37 extern void WINPOS_GetMinMaxInfo( struct tagWND* pWnd, POINT *maxSize,
38 POINT *maxPos, POINT *minTrack,
39 POINT *maxTrack );
40 extern UINT WINPOS_MinMaximize( struct tagWND* pWnd, UINT16 cmd, LPRECT16 lpPos);
41 extern BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse,
42 BOOL fChangeFocus );
43 extern BOOL WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
44 extern LONG WINPOS_SendNCCalcSize(HWND hwnd, BOOL calcValidRect,
45 RECT *newWindowRect, RECT *oldWindowRect,
46 RECT *oldClientRect, WINDOWPOS *winpos,
47 RECT *newClientRect );
48 extern LONG WINPOS_HandleWindowPosChanging16(struct tagWND *wndPtr, struct tagWINDOWPOS16 *winpos);
49 extern LONG WINPOS_HandleWindowPosChanging(struct tagWND *wndPtr, WINDOWPOS *winpos);
50 extern INT16 WINPOS_WindowFromPoint( struct tagWND* scopeWnd, POINT16 pt, struct tagWND **ppWnd );
51 extern void WINPOS_CheckInternalPos( struct tagWND* wndPtr );
52 extern BOOL WINPOS_ActivateOtherWindow(struct tagWND* pWnd);
53 extern BOOL WINPOS_CreateInternalPosAtom(void);
55 #endif /* __WINE_WINPOS_H */