source: trunk/include/win/mdi.h@ 5200

Last change on this file since 5200 was 4834, checked in by sandervl, 25 years ago

update

File size: 1.5 KB
Line 
1/* $Id: mdi.h,v 1.2 2000-12-24 12:28:19 sandervl Exp $ */
2
3/* MDI.H
4 *
5 * Copyright 1994, Bob Amstadt
6 * 1995 Alex Korobka
7 *
8 * MDI structure definitions.
9 */
10
11#ifndef __WINE_MDI_H
12#define __WINE_MDI_H
13
14#include "windef.h"
15
16#define MDI_MAXLISTLENGTH 0x40
17#define MDI_MAXTITLELENGTH 0xA1
18
19#define MDI_NOFRAMEREPAINT 0
20#define MDI_REPAINTFRAMENOW 1
21#define MDI_REPAINTFRAME 2
22
23#define WM_MDICALCCHILDSCROLL 0x10AC /* this is exactly what Windows uses */
24
25/* "More Windows..." definitions */
26#define MDI_MOREWINDOWSLIMIT 9 /* after this number of windows, a "More Windows..."
27 option will appear under the Windows menu */
28#define MDI_IDC_LISTBOX 100
29#define MDI_IDS_MOREWINDOWS 13
30
31extern LRESULT WINAPI MDIClientWndProc( HWND hwnd, UINT message,
32 WPARAM wParam, LPARAM lParam );
33
34typedef struct
35{
36 UINT nActiveChildren;
37 HWND hwndChildMaximized;
38 HWND hwndActiveChild;
39 HMENU hWindowMenu;
40 UINT idFirstChild;
41 LPSTR frameTitle;
42 UINT nTotalCreated;
43 UINT mdiFlags;
44 UINT sbRecalc; /* SB_xxx flags for scrollbar fixup */
45 HWND self;
46} MDICLIENTINFO;
47
48extern HWND MDI_CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT,
49 INT,INT,HWND,HINSTANCE,LPARAM);
50extern HWND MDI_CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT,
51 INT,INT,HWND,HINSTANCE,LPARAM);
52#endif /* __WINE_MDI_H */
53
Note: See TracBrowser for help on using the repository browser.