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

Last change on this file since 6502 was 2533, checked in by sandervl, 26 years ago

fixed fs corruption; send WM_CHILDACTIVATE to child windows

File size: 1.4 KB
Line 
1/* $Id: win32wmdichild.h,v 1.7 2000-01-27 21:50:03 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
26 static HWND createChild(Win32MDIClientWindow *client, LPMDICREATESTRUCTA cs);
27 void childGetMinMaxInfo(MINMAXINFO* lpMinMax);
28
29 BOOL menuModifyItem();
30 BOOL menuDeleteItem();
31
32virtual BOOL isMDIChild();
33
34 LRESULT DefMDIChildProcA(UINT Msg, WPARAM wParam, LPARAM lParam);
35 LRESULT DefMDIChildProcW(UINT Msg, WPARAM wParam, LPARAM lParam);
36
37 static void calcDefaultChildPos(Win32MDIClientWindow *client, WORD n, LPPOINT lpPos, INT delta);
38private:
39
40 friend class Win32MDIClientWindow;
41};
42//******************************************************************************
43//******************************************************************************
44
45#endif //__WIN32WMDICHILD_H__
Note: See TracBrowser for help on using the repository browser.