1 #if !defined(AFX_RESIZABLEPAGE_H__INCLUDED_)
2 #define AFX_RESIZABLEPAGE_H__INCLUDED_
6 #endif // _MSC_VER > 1000
8 // ResizablePage.h : header file
10 /////////////////////////////////////////////////////////////////////////////
12 // Copyright (C) 2000-2002 by Paolo Messina
13 // (http://www.geocities.com/ppescher - ppescher@yahoo.com)
15 // The contents of this file are subject to the Artistic License (the "License").
16 // You may not use this file except in compliance with the License.
17 // You may obtain a copy of the License at:
18 // http://www.opensource.org/licenses/artistic-license.html
20 // If you find this code useful, credits would be nice!
22 /////////////////////////////////////////////////////////////////////////////
24 #include "ResizableLayout.h"
27 /////////////////////////////////////////////////////////////////////////////
28 // CResizablePage window
30 class CResizablePage
: public CPropertyPage
, public CResizableLayout
32 DECLARE_DYNCREATE(CResizablePage
)
37 CResizablePage(UINT nIDTemplate
, UINT nIDCaption
= 0);
38 CResizablePage(LPCTSTR lpszTemplateName
, UINT nIDCaption
= 0);
47 // ClassWizard generated virtual function overrides
48 //{{AFX_VIRTUAL(CResizablePage)
53 virtual ~CResizablePage();
55 // callable from derived classes
58 virtual CWnd
* GetResizableWnd()
60 // make the layout know its parent window
64 // Generated message map functions
66 //{{AFX_MSG(CResizablePage)
67 afx_msg
void OnSize(UINT nType
, int cx
, int cy
);
68 afx_msg BOOL
OnEraseBkgnd(CDC
* pDC
);
73 /////////////////////////////////////////////////////////////////////////////
75 //{{AFX_INSERT_LOCATION}}
76 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
78 #endif // !defined(AFX_RESIZABLEPAGE_H__INCLUDED_)