| 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 |
|
|---|
| 25 | extern LRESULT WINAPI MDIClientWndProc( HWND hwnd, UINT message,
|
|---|
| 26 | WPARAM wParam, LPARAM lParam );
|
|---|
| 27 |
|
|---|
| 28 | typedef 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 |
|
|---|
| 42 | extern HWND MDI_CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,INT,INT,
|
|---|
| 43 | INT,INT,HWND,HINSTANCE,LPARAM);
|
|---|
| 44 | extern HWND MDI_CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,INT,INT,
|
|---|
| 45 | INT,INT,HWND,HINSTANCE,LPARAM);
|
|---|
| 46 | #endif /* __WINE_MDI_H */
|
|---|
| 47 |
|
|---|