Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

win32wmdichild.h

Go to the documentation of this file.
00001 /* $Id: win32wmdichild.h,v 1.7 2000/01/27 21:50:03 sandervl Exp $ */
00002 /*
00003  * Win32 MDI Client Window Class for OS/2
00004  *
00005  * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
00006  *
00007  * Project Odin Software License can be found in LICENSE.TXT
00008  *
00009  */
00010 #ifndef __WIN32WMDICHILD_H__
00011 #define __WIN32WMDICHILD_H__
00012 
00013 #include <win32wbase.h>
00014 #include <mdi.h>
00015 
00016 class Win32MDIClientWindow;
00017 
00018 //******************************************************************************
00019 //******************************************************************************
00020 class Win32MDIChildWindow : public Win32BaseWindow
00021 {
00022 public:
00023                 Win32MDIChildWindow(CREATESTRUCTA *lpCreateStructA, ATOM classAtom, BOOL fUnicode);
00024 virtual        ~Win32MDIChildWindow();
00025 
00026    static HWND  createChild(Win32MDIClientWindow *client, LPMDICREATESTRUCTA cs);
00027            void childGetMinMaxInfo(MINMAXINFO* lpMinMax);
00028 
00029            BOOL menuModifyItem();
00030            BOOL menuDeleteItem();
00031 
00032 virtual  BOOL   isMDIChild();
00033 
00034         LRESULT DefMDIChildProcA(UINT Msg, WPARAM wParam, LPARAM lParam);
00035         LRESULT DefMDIChildProcW(UINT Msg, WPARAM wParam, LPARAM lParam);
00036 
00037    static  void calcDefaultChildPos(Win32MDIClientWindow *client, WORD n, LPPOINT lpPos, INT delta);
00038 private:
00039 
00040    friend class Win32MDIClientWindow;
00041 };
00042 //******************************************************************************
00043 //******************************************************************************
00044 
00045 #endif //__WIN32WMDICHILD_H__

Generated on Wed Jan 23 23:17:49 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001