| 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 |
|
|---|
| 21 | typedef struct
|
|---|
| 22 | {
|
|---|
| 23 | INT actualCount;
|
|---|
| 24 | INT suggestedCount;
|
|---|
| 25 | BOOL valid;
|
|---|
| 26 | INT wMagic;
|
|---|
| 27 | HWND hwndParent;
|
|---|
| 28 | WINDOWPOS winPos[1];
|
|---|
| 29 | } DWP;
|
|---|
| 30 |
|
|---|
| 31 | extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
|
|---|
| 32 | extern BOOL WINPOS_ShowIconTitle( WND* pWnd, BOOL bShow );
|
|---|
| 33 | extern void WINPOS_GetMinMaxInfo( WND* pWnd, POINT *maxSize,
|
|---|
| 34 | POINT *maxPos, POINT *minTrack,
|
|---|
| 35 | POINT *maxTrack );
|
|---|
| 36 | extern UINT WINPOS_MinMaximize( WND* pWnd, UINT16 cmd, LPRECT16 lpPos);
|
|---|
| 37 | extern BOOL WINPOS_SetActiveWindow( HWND hWnd, BOOL fMouse,
|
|---|
| 38 | BOOL fChangeFocus );
|
|---|
| 39 | extern BOOL WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
|
|---|
| 40 | extern LONG WINPOS_SendNCCalcSize(HWND hwnd, BOOL calcValidRect,
|
|---|
| 41 | RECT *newWindowRect, RECT *oldWindowRect,
|
|---|
| 42 | RECT *oldClientRect, WINDOWPOS *winpos,
|
|---|
| 43 | RECT *newClientRect );
|
|---|
| 44 | extern LONG WINPOS_HandleWindowPosChanging16(WND *wndPtr, WINDOWPOS16 *winpos);
|
|---|
| 45 | extern LONG WINPOS_HandleWindowPosChanging(WND *wndPtr, WINDOWPOS *winpos);
|
|---|
| 46 | extern INT16 WINPOS_WindowFromPoint( WND* scopeWnd, POINT16 pt, WND **ppWnd );
|
|---|
| 47 | extern void WINPOS_CheckInternalPos( WND* wndPtr );
|
|---|
| 48 | extern BOOL WINPOS_ActivateOtherWindow(WND* pWnd);
|
|---|
| 49 | extern BOOL WINPOS_CreateInternalPosAtom(void);
|
|---|
| 50 |
|
|---|
| 51 | #endif /* __WINE_WINPOS_H */
|
|---|