Release 960314
[wine.git] / include / mdi.h
bloba34c1d05b5539dd09b99c604c44e27fa4f67f6af
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
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 WPARAM 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 flagChildMaximized;
36 HWND hwndActiveChild;
37 HMENU hWindowMenu;
38 WORD idFirstChild; /* order is 3.1-like up to this point */
39 HANDLE hFrameTitle;
40 WORD sbStop;
41 WORD sbRecalc;
42 HBITMAP obmClose;
43 HBITMAP obmRestore;
44 HWND hwndHitTest;
45 HWND self;
46 } MDICLIENTINFO;
48 #endif /* MDI_H */