1 | /* $Id: win32wmdichild.h,v 1.1 1999-09-15 23:19:01 sandervl Exp $ */
|
---|
2 | /*
|
---|
3 | * Win32 MDI Client Window Class for OS/2
|
---|
4 | *
|
---|
5 | * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
6 | *
|
---|
7 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
8 | *
|
---|
9 | */
|
---|
10 | #ifndef __WIN32WMDICHILD_H__
|
---|
11 | #define __WIN32WMDICHILD_H__
|
---|
12 |
|
---|
13 | #include <win32wbase.h>
|
---|
14 | #include <mdi.h>
|
---|
15 |
|
---|
16 | class Win32MDIClientWindow;
|
---|
17 |
|
---|
18 | //******************************************************************************
|
---|
19 | //******************************************************************************
|
---|
20 | class Win32MDIChildWindow : public Win32BaseWindow
|
---|
21 | {
|
---|
22 | public:
|
---|
23 | Win32MDIChildWindow(CREATESTRUCTA *lpCreateStructA, ATOM classAtom, BOOL isUnicode);
|
---|
24 | virtual ~Win32MDIChildWindow();
|
---|
25 |
|
---|
26 | static HWND createChild(Win32MDIClientWindow *client, LPMDICREATESTRUCTA cs);
|
---|
27 | void childGetMinMaxInfo(MINMAXINFO* lpMinMax);
|
---|
28 |
|
---|
29 | BOOL menuModifyItem();
|
---|
30 | BOOL menuDeleteItem();
|
---|
31 |
|
---|
32 | LRESULT DefMDIChildProcA(UINT Msg, WPARAM wParam, LPARAM lParam);
|
---|
33 | LRESULT DefMDIChildProcW(UINT Msg, WPARAM wParam, LPARAM lParam);
|
---|
34 |
|
---|
35 | static void calcDefaultChildPos(Win32MDIClientWindow *client, WORD n, LPPOINT lpPos, INT delta);
|
---|
36 | private:
|
---|
37 |
|
---|
38 | friend class Win32MDIClientWindow;
|
---|
39 | };
|
---|
40 | //******************************************************************************
|
---|
41 | //******************************************************************************
|
---|
42 |
|
---|
43 | #endif //__WIN32WMDICHILD_H__
|
---|