Made all 16<->32 HWND conversions use explicit functions instead of
[wine] / include / winpos.h
1 /*
2  * *DeferWindowPos() structure and definitions
3  *
4  * Copyright 1994 Alexandre Julliard
5  */
6
7 #ifndef __WINE_WINPOS_H
8 #define __WINE_WINPOS_H
9
10 #include "windef.h"
11 #include "winbase.h"
12 #include "wingdi.h"
13 #include "winuser.h"
14
15 /* undocumented SWP flags - from SDK 3.1 */
16 #define SWP_NOCLIENTSIZE        0x0800
17 #define SWP_NOCLIENTMOVE        0x1000
18
19 /* Wine extra SWP flag */
20 #define SWP_WINE_NOHOSTMOVE     0x80000000
21
22 struct tagWINDOWPOS16;
23
24 extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
25 extern BOOL WINPOS_ShowIconTitle( HWND hwnd, BOOL bShow );
26 extern void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos, POINT *minTrack,
27                                   POINT *maxTrack );
28 extern BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse,
29                                       BOOL fChangeFocus );
30 extern BOOL WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
31 extern LONG WINPOS_SendNCCalcSize(HWND hwnd, BOOL calcValidRect,
32                                   RECT *newWindowRect, RECT *oldWindowRect,
33                                   RECT *oldClientRect, WINDOWPOS *winpos,
34                                   RECT *newClientRect );
35 extern LONG WINPOS_HandleWindowPosChanging16(HWND hwnd, struct tagWINDOWPOS16 *winpos);
36 extern LONG WINPOS_HandleWindowPosChanging(HWND hwnd, WINDOWPOS *winpos);
37 extern HWND WINPOS_WindowFromPoint( HWND hwndScope, POINT pt, INT *hittest );
38 extern void WINPOS_CheckInternalPos( HWND hwnd );
39 extern BOOL WINPOS_ActivateOtherWindow( HWND hwnd );
40 extern BOOL WINPOS_CreateInternalPosAtom(void);
41
42 #endif  /* __WINE_WINPOS_H */