39 lines
660 B
C
39 lines
660 B
C
/* MDI.H
|
|
*
|
|
* Copyright 1994, Bob Amstadt
|
|
*
|
|
* MDI structure definitions.
|
|
*/
|
|
|
|
#ifndef MDI_H
|
|
#define MDI_H
|
|
|
|
#include "windows.h"
|
|
|
|
#define MDI_MAXLISTLENGTH 64
|
|
extern LONG MDIClientWndProc(HWND hwnd, WORD message,
|
|
WORD wParam, LONG lParam); /* mdi.c */
|
|
|
|
|
|
typedef struct
|
|
{
|
|
HLOCAL next, prev;
|
|
HWND hwnd;
|
|
} MDICHILDINFO;
|
|
|
|
typedef struct
|
|
{
|
|
HMENU hWindowMenu;
|
|
HLOCAL infoActiveChildren;
|
|
WORD nActiveChildren;
|
|
WORD idFirstChild;
|
|
HWND hwndActiveChild;
|
|
HWND hwndHitTest;
|
|
BOOL flagMenuAltered;
|
|
BOOL flagChildMaximized;
|
|
RECT rectMaximize;
|
|
RECT rectRestore;
|
|
} MDICLIENTINFO;
|
|
|
|
#endif /* MDI_H */
|