1 /////////////////////////////////////////////////////////////////////////////
3 // This file is part of ResizableLib
4 // http://sourceforge.net/projects/resizablelib
6 // Copyright (C) 2000-2004 by Paolo Messina
7 // http://www.geocities.com/ppescher - mailto:ppescher@hotmail.com
9 // The contents of this file are subject to the Artistic License (the "License").
10 // You may not use this file except in compliance with the License.
11 // You may obtain a copy of the License at:
12 // http://www.opensource.org/licenses/artistic-license.html
14 // If you find this code useful, credits would be nice!
16 /////////////////////////////////////////////////////////////////////////////
20 * @brief Interface for the CResizableSheetState class.
23 #if !defined(AFX_RESIZABLESHEETSTATE_H__INCLUDED_)
24 #define AFX_RESIZABLESHEETSTATE_H__INCLUDED_
28 #endif // _MSC_VER > 1000
30 #include "ResizableWndState.h"
32 /*! @addtogroup CoreComponents
36 //! @brief Persists active page in property sheets or wizard dialogs
38 * Derive from this class when you want to persist the active page
39 * in property sheets or wizard dialogs.
40 * This class is used in the provided resizable counterparts of
41 * the standard MFC property sheet classes.
43 class CResizableSheetState
: public CResizableWndState
47 //! @brief Load and set the active property page
48 BOOL
LoadPage(LPCTSTR pszName
);
50 //! @brief Save the current active property page
51 BOOL
SavePage(LPCTSTR pszName
);
53 //! @brief Override to provide the parent window
54 virtual CWnd
* GetResizableWnd() const = 0;
57 CResizableSheetState();
58 virtual ~CResizableSheetState();
62 #endif // !defined(AFX_RESIZABLESHEETSTATE_H__INCLUDED_)