winpos.h 1.8 KB
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1 2 3 4
/*
 * *DeferWindowPos() structure and definitions
 *
 * Copyright 1994 Alexandre Julliard
5 6 7 8 9 10 11 12 13 14 15 16 17 18
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Alexandre Julliard's avatar
Alexandre Julliard committed
19 20
 */

Alexandre Julliard's avatar
Alexandre Julliard committed
21 22 23
#ifndef __WINE_WINPOS_H
#define __WINE_WINPOS_H

24
#include "windef.h"
25
#include "winbase.h"
26 27
#include "wingdi.h"
#include "winuser.h"
28

Alexandre Julliard's avatar
Alexandre Julliard committed
29 30 31 32
/* undocumented SWP flags - from SDK 3.1 */
#define SWP_NOCLIENTSIZE	0x0800
#define SWP_NOCLIENTMOVE	0x1000

33 34 35
/* Wine extra SWP flag */
#define SWP_WINE_NOHOSTMOVE	0x80000000

36 37
struct tagWINDOWPOS16;

38
extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
39 40 41 42 43
extern BOOL WINPOS_ShowIconTitle( HWND hwnd, BOOL bShow );
extern void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos, POINT *minTrack,
                                  POINT *maxTrack );
extern LONG WINPOS_HandleWindowPosChanging16(HWND hwnd, struct tagWINDOWPOS16 *winpos);
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);
Alexandre Julliard's avatar
Alexandre Julliard committed
48

Alexandre Julliard's avatar
Alexandre Julliard committed
49
#endif  /* __WINE_WINPOS_H */