Release 970112
[wine.git] / include / mdi.h
blob5db75b649cdd9eff1228eb602afeb0f1a1071ca7
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(HWND hwnd, UINT message,
24 WPARAM16 wParam, LPARAM lParam); /* mdi.c */
26 typedef struct tagMDIWCL
28 HWND hChild;
29 struct tagMDIWCL *prev;
30 } MDIWCL;
32 typedef struct
34 WORD nActiveChildren;
35 HWND hwndChildMaximized;
36 HWND hwndActiveChild;
37 HMENU16 hWindowMenu;
38 WORD idFirstChild;
39 WORD nTotalCreated;
40 LPSTR frameTitle;
41 WORD sbNeedUpdate;
42 WORD sbRecalc;
43 HWND self;
44 } MDICLIENTINFO;
46 #endif /* __WINE_MDI_H */