Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

mdi.h

Go to the documentation of this file.
00001 /* $Id: mdi.h,v 1.1 2001/09/19 15:39:48 sandervl Exp $ */
00002 
00003 /* MDI.H
00004  *
00005  * Copyright 1994, Bob Amstadt
00006  *           1995  Alex Korobka
00007  *
00008  * MDI structure definitions.
00009  */
00010 
00011 #ifndef __WINE_MDI_H
00012 #define __WINE_MDI_H
00013 
00014 #include "windef.h"
00015 
00016 #define MDICLIENTCLASSNAMEA "MDICLIENT"
00017 #define MDICLIENTCLASSNAMEW L"MDICLIENT"
00018 
00019 #define MDI_MAXLISTLENGTH       0x40
00020 #define MDI_MAXTITLELENGTH      0xA1
00021 
00022 #define MDI_NOFRAMEREPAINT      0
00023 #define MDI_REPAINTFRAMENOW     1
00024 #define MDI_REPAINTFRAME        2
00025 
00026 #define WM_MDICALCCHILDSCROLL   0x10AC /* this is exactly what Windows uses */
00027 
00028 /* "More Windows..." definitions */
00029 #define MDI_MOREWINDOWSLIMIT    9       /* after this number of windows, a "More Windows..." 
00030                                            option will appear under the Windows menu */
00031 #define MDI_IDC_LISTBOX         100
00032 #define MDI_IDS_MOREWINDOWS     13
00033 
00034 #define MDIF_NEEDUPDATE         0x0001
00035 
00036 LRESULT WINAPI MDIClientWndProcA( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
00037 LRESULT WINAPI MDIClientWndProcW( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
00038 
00039 typedef struct
00040 {
00041     UINT      nActiveChildren;
00042     HWND      hwndChildMaximized;
00043     HWND      hwndActiveChild;
00044     HMENU     hWindowMenu;
00045     UINT      idFirstChild;
00046     LPWSTR    frameTitle;
00047     UINT      nTotalCreated;
00048     UINT      mdiFlags;
00049     UINT      sbRecalc;   /* SB_xxx flags for scrollbar fixup */
00050 } MDICLIENTINFO;
00051 
00052 
00053 #ifdef __cplusplus
00054 extern "C" {
00055 #endif
00056 
00057 INT  SCROLL_SetNCSbState(HWND hwnd, int vMin, int vMax, int vPos,
00058                          int hMin, int hMax, int hPos);
00059 
00060 #ifdef __cplusplus
00061 }
00062 #endif
00063 
00064 #endif /* __WINE_MDI_H */
00065 

Generated on Wed Jan 23 23:17:35 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001