Update UNRAR.H
[xy_vsfilter.git] / src / ui / ResizableLib / ResizablePage.h
blob4c82186346421399e7eb113f7b50119faf18330d
1 #if !defined(AFX_RESIZABLEPAGE_H__INCLUDED_)
2 #define AFX_RESIZABLEPAGE_H__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
8 // ResizablePage.h : header file
9 //
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)
34 // Construction
35 public:
36 CResizablePage();
37 CResizablePage(UINT nIDTemplate, UINT nIDCaption = 0);
38 CResizablePage(LPCTSTR lpszTemplateName, UINT nIDCaption = 0);
40 // Attributes
41 public:
43 // Operations
44 public:
46 // Overrides
47 // ClassWizard generated virtual function overrides
48 //{{AFX_VIRTUAL(CResizablePage)
49 //}}AFX_VIRTUAL
51 // Implementation
52 public:
53 virtual ~CResizablePage();
55 // callable from derived classes
56 protected:
58 virtual CWnd* GetResizableWnd()
60 // make the layout know its parent window
61 return this;
64 // Generated message map functions
65 protected:
66 //{{AFX_MSG(CResizablePage)
67 afx_msg void OnSize(UINT nType, int cx, int cy);
68 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
69 //}}AFX_MSG
70 DECLARE_MESSAGE_MAP()
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_)