Release 20030408.
[wine/gsoc-2012-control.git] / include / winpos.h
blobf972b55412d2fb5cbd98a3f6a71816df1b71eafe
1 /*
2 * *DeferWindowPos() structure and definitions
4 * Copyright 1994 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_WINPOS_H
22 #define __WINE_WINPOS_H
24 #include "windef.h"
25 #include "winbase.h"
26 #include "wingdi.h"
27 #include "winuser.h"
29 /* undocumented SWP flags - from SDK 3.1 */
30 #define SWP_NOCLIENTSIZE 0x0800
31 #define SWP_NOCLIENTMOVE 0x1000
33 /* Wine extra SWP flag */
34 #define SWP_WINE_NOHOSTMOVE 0x80000000
36 struct tagWINDOWPOS16;
38 extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
39 extern BOOL WINPOS_ShowIconTitle( HWND hwnd, BOOL bShow );
40 extern void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos, POINT *minTrack,
41 POINT *maxTrack );
42 extern LONG WINPOS_HandleWindowPosChanging16(HWND hwnd, struct tagWINDOWPOS16 *winpos);
43 extern LONG WINPOS_HandleWindowPosChanging(HWND hwnd, WINDOWPOS *winpos);
44 extern HWND WINPOS_WindowFromPoint( HWND hwndScope, POINT pt, INT *hittest );
45 extern void WINPOS_CheckInternalPos( HWND hwnd );
46 extern void WINPOS_ActivateOtherWindow( HWND hwnd );
47 extern BOOL WINPOS_CreateInternalPosAtom(void);
49 #endif /* __WINE_WINPOS_H */