1 #if !defined(AFX_RESIZABLEPAGE_H__INCLUDED_)
\r
2 #define AFX_RESIZABLEPAGE_H__INCLUDED_
\r
6 #endif // _MSC_VER > 1000
\r
8 // ResizablePage.h : header file
\r
10 /////////////////////////////////////////////////////////////////////////////
\r
12 // This file is part of ResizableLib
\r
13 // http://sourceforge.net/projects/resizablelib
\r
15 // Copyright (C) 2000-2004 by Paolo Messina
\r
16 // http://www.geocities.com/ppescher - mailto:ppescher@hotmail.com
\r
18 // The contents of this file are subject to the Artistic License (the "License").
\r
19 // You may not use this file except in compliance with the License.
\r
20 // You may obtain a copy of the License at:
\r
21 // http://www.opensource.org/licenses/artistic-license.html
\r
23 // If you find this code useful, credits would be nice!
\r
25 /////////////////////////////////////////////////////////////////////////////
\r
27 #include "ResizableLayout.h"
\r
28 #include "ResizableMinMax.h"
\r
30 /////////////////////////////////////////////////////////////////////////////
\r
31 // CResizablePage window
\r
33 class CResizablePage : public CPropertyPage, public CResizableLayout,
\r
34 public CResizableMinMax
\r
36 DECLARE_DYNCREATE(CResizablePage)
\r
41 CResizablePage(UINT nIDTemplate, UINT nIDCaption = 0);
\r
42 CResizablePage(LPCTSTR lpszTemplateName, UINT nIDCaption = 0);
\r
51 // ClassWizard generated virtual function overrides
\r
52 //{{AFX_VIRTUAL(CResizablePage)
\r
54 virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
\r
59 virtual ~CResizablePage();
\r
61 // callable from derived classes
\r
64 virtual CWnd* GetResizableWnd() const
\r
66 // make the layout know its parent window
\r
67 return CWnd::FromHandle(m_hWnd);
\r
70 // Generated message map functions
\r
72 //{{AFX_MSG(CResizablePage)
\r
73 afx_msg void OnSize(UINT nType, int cx, int cy);
\r
74 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
\r
75 afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
\r
76 virtual BOOL OnInitDialog();
\r
77 afx_msg void OnDestroy();
\r
79 DECLARE_MESSAGE_MAP()
\r
82 /////////////////////////////////////////////////////////////////////////////
\r
84 //{{AFX_INSERT_LOCATION}}
\r
85 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
\r
87 #endif // !defined(AFX_RESIZABLEPAGE_H__INCLUDED_)
\r