Release 960521
[wine] / include / mdi.h
1 /* MDI.H
2  *
3  * Copyright 1994, Bob Amstadt
4  *           1995  Alex Korobka
5  *
6  * MDI structure definitions.
7  */
8
9 #ifndef MDI_H
10 #define MDI_H
11
12 #include "windows.h"
13
14 #define MDI_MAXLISTLENGTH       0x40
15 #define MDI_MAXTITLELENGTH      0xA1
16
17 #define MDI_NOFRAMEREPAINT      0
18 #define MDI_REPAINTFRAMENOW     1
19 #define MDI_REPAINTFRAME        2
20
21 #define WM_MDICALCCHILDSCROLL   0x10AC /* this is exactly what Windows uses */
22
23 extern LRESULT MDIClientWndProc(HWND hwnd, UINT message, 
24                                 WPARAM wParam, LPARAM lParam); /* mdi.c */
25
26 typedef struct tagMDIWCL
27 {
28   HWND                   hChild;
29   struct tagMDIWCL      *prev;
30 } MDIWCL;
31
32 typedef struct 
33 {
34     WORD        nActiveChildren;
35     HWND        hwndChildMaximized;
36     HWND        hwndActiveChild;
37     HMENU       hWindowMenu;
38     WORD        idFirstChild;
39     WORD        nTotalCreated;
40     LPSTR       frameTitle;
41     WORD        sbNeedUpdate;
42     WORD        sbRecalc;
43     HWND        self;
44 } MDICLIENTINFO;
45
46 #endif /* MDI_H */
47