Release 950319
[wine] / include / mdi.h
1 /* MDI.H
2  *
3  * Copyright 1994, Bob Amstadt
4  *
5  * MDI structure definitions.
6  */
7
8 #ifndef MDI_H
9 #define MDI_H
10
11 #include "windows.h"
12
13 #define MDI_MAXLISTLENGTH       64
14 extern LONG MDIClientWndProc(HWND hwnd, WORD message, 
15                              WORD wParam, LONG lParam); /* mdi.c */
16
17
18 typedef struct mdi_child_info_s
19 {
20     struct mdi_child_info_s *next, *prev;
21     HWND hwnd;
22 } MDICHILDINFO;
23
24 typedef struct 
25 {
26     HMENU         hWindowMenu;
27     MDICHILDINFO *infoActiveChildren;
28     WORD          nActiveChildren;
29     WORD          idFirstChild;
30     HWND          hwndActiveChild;
31     HWND          hwndHitTest;
32     BOOL          flagMenuAltered;
33     BOOL          flagChildMaximized;
34     RECT          rectMaximize;
35     RECT          rectRestore;
36 } MDICLIENTINFO;
37
38 #endif /* MDI_H */