Release 951212
[wine/hacks.git] / include / mdi.h
blobe7c257325f942c87c3c1ea7db9f3c181b0b1c5d3
1 /* MDI.H
3 * Copyright 1994, Bob Amstadt
4 * 1995 Alex Korobka
6 * MDI structure definitions.
7 */
9 #ifndef MDI_H
10 #define MDI_H
12 #include "windows.h"
14 #define MDI_MAXLISTLENGTH 0x40
16 #define WM_MDICALCCHILDSCROLL 0x10AC /* this is exactly what Windows uses */
18 extern LRESULT MDIClientWndProc(HWND hwnd, UINT message,
19 WPARAM wParam, LPARAM lParam); /* mdi.c */
21 typedef struct tagMDIWCL
23 HWND hChild;
24 struct tagMDIWCL *prev;
25 } MDIWCL;
27 typedef struct
29 WORD nActiveChildren;
30 HWND flagChildMaximized;
31 HWND hwndActiveChild;
32 HMENU hWindowMenu;
33 WORD idFirstChild; /* order is 3.1-like up to this point */
34 WORD sbStop;
35 WORD sbRecalc;
36 HWND hwndHitTest;
37 RECT rectMaximize;
38 RECT rectRestore;
39 } MDICLIENTINFO;
42 #endif /* MDI_H */