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

Last change on this file since 1036 was 4, checked in by ktk, 26 years ago

Import

File size: 1.2 KB
Line 
1/* $Id: mdi.h,v 1.1 1999-05-24 20:19:14 ktk 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
25extern LRESULT WINAPI MDIClientWndProc( HWND hwnd, UINT message,
26 WPARAM wParam, LPARAM lParam );
27
28typedef struct
29{
30 UINT nActiveChildren;
31 HWND hwndChildMaximized;
32 HWND hwndActiveChild;
33 HMENU hWindowMenu;
34 UINT idFirstChild;
35 LPSTR frameTitle;
36 UINT nTotalCreated;
37 UINT mdiFlags;
38 UINT sbRecalc; /* SB_xxx flags for scrollbar fixup */
39 HWND self;
40} MDICLIENTINFO;
41
42extern HWND MDI_CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT,
43 INT,INT,HWND,HINSTANCE,LPARAM);
44extern HWND MDI_CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT,
45 INT,INT,HWND,HINSTANCE,LPARAM);
46#endif /* __WINE_MDI_H */
47
Note: See TracBrowser for help on using the repository browser.