Use the DUMMYUNIONNAME macros so that the headers can be used in
[wine/multimedia.git] / include / mdi.h
blobee501dff05b7b2dc8c9574ca621ea6ea929ae22a
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 "windef.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 /* "More Windows..." definitions */
24 #define MDI_MOREWINDOWSLIMIT 9 /* after this number of windows, a "More Windows..."
25 option will appear under the Windows menu */
26 #define MDI_IDC_LISTBOX 100
27 #define MDI_IDS_MOREWINDOWS 13
29 extern LRESULT WINAPI MDIClientWndProc( HWND hwnd, UINT message,
30 WPARAM wParam, LPARAM lParam );
32 typedef struct
34 UINT nActiveChildren;
35 HWND hwndChildMaximized;
36 HWND hwndActiveChild;
37 HMENU hWindowMenu;
38 UINT idFirstChild;
39 LPWSTR frameTitle;
40 UINT nTotalCreated;
41 UINT mdiFlags;
42 UINT sbRecalc; /* SB_xxx flags for scrollbar fixup */
43 HWND self;
44 } MDICLIENTINFO;
46 extern HWND MDI_CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT,
47 INT,INT,HWND,HINSTANCE,LPARAM);
48 extern HWND MDI_CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT,
49 INT,INT,HWND,HINSTANCE,LPARAM);
50 #endif /* __WINE_MDI_H */