source: trunk/include/win/winpos.h@ 4

Last change on this file since 4 was 4, checked in by ktk, 26 years ago

Import

File size: 1.8 KB
Line 
1/* $Id: winpos.h,v 1.1 1999-05-24 20:19:22 ktk Exp $ */
2
3/*
4 * *DeferWindowPos() structure and definitions
5 *
6 * Copyright 1994 Alexandre Julliard
7 */
8
9#ifndef __WINE_WINPOS_H
10#define __WINE_WINPOS_H
11
12#include "win.h"
13#include "wine/winuser16.h" /* for WINDOWPOS16 */
14
15#define DWP_MAGIC ((INT)('W' | ('P' << 8) | ('O' << 16) | ('S' << 24)))
16
17/* undocumented SWP flags - from SDK 3.1 */
18#define SWP_NOCLIENTSIZE 0x0800
19#define SWP_NOCLIENTMOVE 0x1000
20
21typedef struct
22{
23 INT actualCount;
24 INT suggestedCount;
25 BOOL valid;
26 INT wMagic;
27 HWND hwndParent;
28 WINDOWPOS winPos[1];
29} DWP;
30
31extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
32extern BOOL WINPOS_ShowIconTitle( WND* pWnd, BOOL bShow );
33extern void WINPOS_GetMinMaxInfo( WND* pWnd, POINT *maxSize,
34 POINT *maxPos, POINT *minTrack,
35 POINT *maxTrack );
36extern UINT WINPOS_MinMaximize( WND* pWnd, UINT16 cmd, LPRECT16 lpPos);
37extern BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse,
38 BOOL fChangeFocus );
39extern BOOL WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
40extern LONG WINPOS_SendNCCalcSize(HWND hwnd, BOOL calcValidRect,
41 RECT *newWindowRect, RECT *oldWindowRect,
42 RECT *oldClientRect, WINDOWPOS *winpos,
43 RECT *newClientRect );
44extern LONG WINPOS_HandleWindowPosChanging16(WND *wndPtr, WINDOWPOS16 *winpos);
45extern LONG WINPOS_HandleWindowPosChanging(WND *wndPtr, WINDOWPOS *winpos);
46extern INT16 WINPOS_WindowFromPoint( WND* scopeWnd, POINT16 pt, WND **ppWnd );
47extern void WINPOS_CheckInternalPos( WND* wndPtr );
48extern BOOL WINPOS_ActivateOtherWindow(WND* pWnd);
49extern BOOL WINPOS_CreateInternalPosAtom(void);
50
51#endif /* __WINE_WINPOS_H */
Note: See TracBrowser for help on using the repository browser.