Release 950522
[wine.git] / include / winpos.h
blob19ca5c74d2960941e463bf26adc0d966394b60fd
1 /*
2 * *DeferWindowPos() structure and definitions
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef WINPOS_H
8 #define WINPOS_H
10 #define DWP_MAGIC 0x5057 /* 'WP' */
12 typedef struct
14 WORD actualCount;
15 WORD suggestedCount;
16 WORD valid;
17 WORD wMagic;
18 HWND hwndParent;
19 WINDOWPOS winPos[1];
20 } DWP;
23 extern HWND WINPOS_NextWindowFromPoint( HWND hwnd, POINT pt );
24 extern HWND WINPOS_ChangeActiveWindow( HWND hwnd, BOOL mouseMsg );
25 extern LONG WINPOS_SendNCCalcSize( HWND hwnd, BOOL calcValidRect,
26 RECT *newWindowRect, RECT *oldWindowRect,
27 RECT *oldClientRect, WINDOWPOS *winpos,
28 RECT *newClientRect );
29 extern LONG WINPOS_HandleWindowPosChanging( WINDOWPOS *winpos );
31 #endif /* WINPOS_H */