source: trunk/src/user32/mdi.h@ 22012

Last change on this file since 22012 was 21916, checked in by dmik, 14 years ago

Merge branch gcc-kmk to trunk.

File size: 1.4 KB
Line 
1/* $Id: mdi.h,v 1.1 2001-09-19 15:39:48 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
36typedef struct
37{
38 UINT nActiveChildren;
39 HWND hwndChildMaximized;
40 HWND hwndActiveChild;
41 HMENU hWindowMenu;
42 UINT idFirstChild;
43 LPWSTR frameTitle;
44 UINT nTotalCreated;
45 UINT mdiFlags;
46 UINT sbRecalc; /* SB_xxx flags for scrollbar fixup */
47} MDICLIENTINFO;
48
49
50#ifdef __cplusplus
51extern "C" {
52#endif
53
54INT SCROLL_SetNCSbState(HWND hwnd, int vMin, int vMax, int vPos,
55 int hMin, int hMax, int hPos);
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* __WINE_MDI_H */
62
Note: See TracBrowser for help on using the repository browser.