New examples/documentation for console configuration options.
[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 __WINE_MDI_H
10 #define __WINE_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 WINAPI MDIClientWndProc( HWND32 hwnd, UINT32 message, 
24                                         WPARAM32 wParam, LPARAM lParam );
25
26 typedef struct 
27 {
28     UINT32      nActiveChildren;
29     HWND32      hwndChildMaximized;
30     HWND32      hwndActiveChild;
31     HMENU32     hWindowMenu;
32     UINT32      idFirstChild;
33     LPSTR       frameTitle;
34     UINT32      nTotalCreated;
35     UINT32      mdiFlags;
36     UINT32      sbRecalc;   /* SB_xxx flags for scrollbar fixup */
37     HWND32      self;
38 } MDICLIENTINFO;
39
40 extern HWND32  MDI_CreateMDIWindow32A(LPCSTR,LPCSTR,DWORD,INT32,INT32,
41                                 INT32,INT32,HWND32,HINSTANCE32,LPARAM);
42 extern HWND32  MDI_CreateMDIWindow32W(LPCWSTR,LPCWSTR,DWORD,INT32,INT32,
43                                 INT32,INT32,HWND32,HINSTANCE32,LPARAM);
44 #endif /* __WINE_MDI_H */
45