Added TEB in init_thread request.
[wine/multimedia.git] / include / mdi.h
blob2ced23a50d923e13d04688a2b2b50a2410ad7bca
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 extern LRESULT WINAPI MDIClientWndProc( HWND hwnd, UINT message,
24 WPARAM wParam, LPARAM lParam );
26 typedef struct
28 UINT nActiveChildren;
29 HWND hwndChildMaximized;
30 HWND hwndActiveChild;
31 HMENU hWindowMenu;
32 UINT idFirstChild;
33 LPSTR frameTitle;
34 UINT nTotalCreated;
35 UINT mdiFlags;
36 UINT sbRecalc; /* SB_xxx flags for scrollbar fixup */
37 HWND self;
38 } MDICLIENTINFO;
40 extern HWND MDI_CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT,
41 INT,INT,HWND,HINSTANCE,LPARAM);
42 extern HWND MDI_CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT,
43 INT,INT,HWND,HINSTANCE,LPARAM);
44 #endif /* __WINE_MDI_H */