00001
00002
00003
00004
00005
00006
00007
00008
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
00027
00028
00029 #define MDI_MOREWINDOWSLIMIT 9
00030
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;
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
00065