Release 970629
[wine/wine-kai.git] / include / mdi.h
blob812580c090a3d662393e30d97e2fb1adc7fd7d40
1 /* MDI.H
3 * Copyright 1994, Bob Amstadt
4 * 1995 Alex Korobka
6 * MDI structure definitions.
7 */
9 #ifndef __WINE_MDI_H
10 #define __WINE_MDI_H
12 #include "windows.h"
14 #define MDI_MAXLISTLENGTH 0x40
15 #define MDI_MAXTITLELENGTH 0xA1
17 #define MDI_NOFRAMEREPAINT 0
18 #define MDI_REPAINTFRAMENOW 1
19 #define MDI_REPAINTFRAME 2
21 #define WM_MDICALCCHILDSCROLL 0x10AC /* this is exactly what Windows uses */
23 extern LRESULT MDIClientWndProc(HWND16 hwnd, UINT16 message,
24 WPARAM16 wParam, LPARAM lParam); /* mdi.c */
26 typedef struct
28 UINT16 nActiveChildren;
29 HWND16 hwndChildMaximized;
30 HWND16 hwndActiveChild;
31 HMENU16 hWindowMenu;
32 UINT32 idFirstChild;
33 LPSTR frameTitle;
34 UINT16 nTotalCreated;
35 UINT16 mdiFlags;
36 UINT16 sbRecalc; /* SB_xxx flags for scrollbar fixup */
37 HWND16 self;
38 } MDICLIENTINFO;
40 #endif /* __WINE_MDI_H */