source: trunk/src/user32/win32wmdichild.h@ 2502

Last change on this file since 2502 was 2469, checked in by sandervl, 26 years ago

* empty log message *

File size: 1.5 KB
Line 
1/* $Id: win32wmdichild.h,v 1.6 2000-01-18 20:08:17 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
16class Win32MDIClientWindow;
17
18//******************************************************************************
19//******************************************************************************
20class Win32MDIChildWindow : public Win32BaseWindow
21{
22public:
23 Win32MDIChildWindow(CREATESTRUCTA *lpCreateStructA, ATOM classAtom, BOOL fUnicode);
24virtual ~Win32MDIChildWindow();
25
26virtual ULONG MsgActivate(BOOL fActivate, BOOL fMinimized, HWND hwnd, HWND hwndOS2Win);
27
28 static HWND createChild(Win32MDIClientWindow *client, LPMDICREATESTRUCTA cs);
29 void childGetMinMaxInfo(MINMAXINFO* lpMinMax);
30
31 BOOL menuModifyItem();
32 BOOL menuDeleteItem();
33
34virtual BOOL isMDIChild();
35
36 LRESULT DefMDIChildProcA(UINT Msg, WPARAM wParam, LPARAM lParam);
37 LRESULT DefMDIChildProcW(UINT Msg, WPARAM wParam, LPARAM lParam);
38
39 static void calcDefaultChildPos(Win32MDIClientWindow *client, WORD n, LPPOINT lpPos, INT delta);
40private:
41
42 friend class Win32MDIClientWindow;
43};
44//******************************************************************************
45//******************************************************************************
46
47#endif //__WIN32WMDICHILD_H__
Note: See TracBrowser for help on using the repository browser.