Added missing #include "config.h"
[wine/multimedia.git] / include / mdi.h
blobb66a516602d8fb49e3c08f6cf2559353f7cd3927
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 WINAPI MDIClientWndProc( HWND32 hwnd, UINT32 message,
24 WPARAM32 wParam, LPARAM lParam );
26 typedef struct
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;
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 */