mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
5c6fc1bb91
extended style is specified. Also implemented CreateMDIWindow32A() call - single thread only -.
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
/* MDI.H
|
|
*
|
|
* Copyright 1994, Bob Amstadt
|
|
* 1995 Alex Korobka
|
|
*
|
|
* MDI structure definitions.
|
|
*/
|
|
|
|
#ifndef __WINE_MDI_H
|
|
#define __WINE_MDI_H
|
|
|
|
#include "windows.h"
|
|
|
|
#define MDI_MAXLISTLENGTH 0x40
|
|
#define MDI_MAXTITLELENGTH 0xA1
|
|
|
|
#define MDI_NOFRAMEREPAINT 0
|
|
#define MDI_REPAINTFRAMENOW 1
|
|
#define MDI_REPAINTFRAME 2
|
|
|
|
#define WM_MDICALCCHILDSCROLL 0x10AC /* this is exactly what Windows uses */
|
|
|
|
extern LRESULT WINAPI MDIClientWndProc( HWND32 hwnd, UINT32 message,
|
|
WPARAM32 wParam, LPARAM lParam );
|
|
|
|
typedef struct
|
|
{
|
|
UINT32 nActiveChildren;
|
|
HWND32 hwndChildMaximized;
|
|
HWND32 hwndActiveChild;
|
|
HMENU32 hWindowMenu;
|
|
UINT32 idFirstChild;
|
|
LPSTR frameTitle;
|
|
UINT32 nTotalCreated;
|
|
UINT32 mdiFlags;
|
|
UINT32 sbRecalc; /* SB_xxx flags for scrollbar fixup */
|
|
HWND32 self;
|
|
} MDICLIENTINFO;
|
|
|
|
extern HWND32 MDI_CreateMDIWindow32A(LPCSTR,LPCSTR,DWORD,INT32,INT32,
|
|
INT32,INT32,HWND32,HINSTANCE32,LPARAM);
|
|
extern HWND32 MDI_CreateMDIWindow32W(LPCWSTR,LPCWSTR,DWORD,INT32,INT32,
|
|
INT32,INT32,HWND32,HINSTANCE32,LPARAM);
|
|
#endif /* __WINE_MDI_H */
|
|
|