Fix typo in doc
[TortoiseGit.git] / ext / ResizableLib / ResizablePageEx.h
blob0adb261a8e6d303fc4816dcb9771412adda911b4
1 #if !defined(AFX_RESIZABLEPAGEEX_H__INCLUDED_)
2 #define AFX_RESIZABLEPAGEEX_H__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
8 // ResizablePageEx.h : header file
9 //
10 /////////////////////////////////////////////////////////////////////////////
12 // This file is part of ResizableLib
13 // http://sourceforge.net/projects/resizablelib
15 // Copyright (C) 2000-2004 by Paolo Messina
16 // http://www.geocities.com/ppescher - mailto:ppescher@hotmail.com
18 // The contents of this file are subject to the Artistic License (the "License").
19 // You may not use this file except in compliance with the License.
20 // You may obtain a copy of the License at:
21 // http://www.opensource.org/licenses/artistic-license.html
23 // If you find this code useful, credits would be nice!
25 /////////////////////////////////////////////////////////////////////////////
27 #include "ResizableLayout.h"
28 #include "ResizableMinMax.h"
30 /////////////////////////////////////////////////////////////////////////////
31 // CResizablePageEx window
33 class CResizablePageEx : public CPropertyPageEx, public CResizableLayout,
34 public CResizableMinMax
36 DECLARE_DYNCREATE(CResizablePageEx)
38 // Construction
39 public:
40 CResizablePageEx();
41 CResizablePageEx(UINT nIDTemplate, UINT nIDCaption = 0, UINT nIDHeaderTitle = 0, UINT nIDHeaderSubTitle = 0);
42 CResizablePageEx(LPCTSTR lpszTemplateName, UINT nIDCaption = 0, UINT nIDHeaderTitle = 0, UINT nIDHeaderSubTitle = 0);
44 // Attributes
45 public:
47 // Operations
48 public:
50 // Overrides
51 // ClassWizard generated virtual function overrides
52 //{{AFX_VIRTUAL(CResizablePageEx)
53 protected:
54 virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
55 //}}AFX_VIRTUAL
57 // Implementation
58 public:
59 virtual ~CResizablePageEx();
61 // callable from derived classes
62 protected:
64 virtual CWnd* GetResizableWnd() const
66 // make the layout know its parent window
67 return CWnd::FromHandle(m_hWnd);
70 // Generated message map functions
71 protected:
72 //{{AFX_MSG(CResizablePageEx)
73 afx_msg void OnSize(UINT nType, int cx, int cy);
74 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
75 afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
76 virtual BOOL OnInitDialog();
77 afx_msg void OnDestroy();
78 afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
79 //}}AFX_MSG
80 DECLARE_MESSAGE_MAP()
83 /////////////////////////////////////////////////////////////////////////////
85 //{{AFX_INSERT_LOCATION}}
86 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
88 #endif // !defined(AFX_RESIZABLEPAGEEX_H__INCLUDED_)