3 * Copyright 1994, Bob Amstadt
6 * MDI structure definitions.
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
);
35 HWND hwndChildMaximized
;
42 UINT sbRecalc
; /* SB_xxx flags for scrollbar fixup */
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 */