| 1 | /* $Id: mdi.h,v 1.1 2002-06-02 10:09:30 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 MDICLIENTCLASSNAMEA "MDICLIENT"
|
|---|
| 17 | #define MDICLIENTCLASSNAMEW L"MDICLIENT"
|
|---|
| 18 |
|
|---|
| 19 | #define MDI_MAXLISTLENGTH 0x40
|
|---|
| 20 | #define MDI_MAXTITLELENGTH 0xA1
|
|---|
| 21 |
|
|---|
| 22 | #define MDI_NOFRAMEREPAINT 0
|
|---|
| 23 | #define MDI_REPAINTFRAMENOW 1
|
|---|
| 24 | #define MDI_REPAINTFRAME 2
|
|---|
| 25 |
|
|---|
| 26 | #define WM_MDICALCCHILDSCROLL 0x10AC /* this is exactly what Windows uses */
|
|---|
| 27 |
|
|---|
| 28 | /* "More Windows..." definitions */
|
|---|
| 29 | #define MDI_MOREWINDOWSLIMIT 9 /* after this number of windows, a "More Windows..."
|
|---|
| 30 | option will appear under the Windows menu */
|
|---|
| 31 | #define MDI_IDC_LISTBOX 100
|
|---|
| 32 | #define MDI_IDS_MOREWINDOWS 13
|
|---|
| 33 |
|
|---|
| 34 | #define MDIF_NEEDUPDATE 0x0001
|
|---|
| 35 |
|
|---|
| 36 | LRESULT WINAPI MDIClientWndProcA( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
|
|---|
| 37 | LRESULT WINAPI MDIClientWndProcW( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
|
|---|
| 38 |
|
|---|
| 39 | typedef struct
|
|---|
| 40 | {
|
|---|
| 41 | UINT nActiveChildren;
|
|---|
| 42 | HWND hwndChildMaximized;
|
|---|
| 43 | HWND hwndActiveChild;
|
|---|
| 44 | HMENU hWindowMenu;
|
|---|
| 45 | UINT idFirstChild;
|
|---|
| 46 | LPWSTR frameTitle;
|
|---|
| 47 | UINT nTotalCreated;
|
|---|
| 48 | UINT mdiFlags;
|
|---|
| 49 | UINT sbRecalc; /* SB_xxx flags for scrollbar fixup */
|
|---|
| 50 | } MDICLIENTINFO;
|
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 | #ifdef __cplusplus
|
|---|
| 54 | extern "C" {
|
|---|
| 55 | #endif
|
|---|
| 56 |
|
|---|
| 57 | BOOL MDICLIENT_Unregister();
|
|---|
| 58 | BOOL MDICLIENT_Register();
|
|---|
| 59 |
|
|---|
| 60 | #ifdef __cplusplus
|
|---|
| 61 | }
|
|---|
| 62 | #endif
|
|---|
| 63 |
|
|---|
| 64 | #endif /* __WINE_MDI_H */
|
|---|
| 65 |
|
|---|