ResizableState.h

00001 // ResizableState.h: interface for the CResizableState class.
00002 //
00004 //
00005 // Copyright (C) 2000-2002 by Paolo Messina
00006 // (http://www.geocities.com/ppescher - [email protected])
00007 //
00008 // The contents of this file are subject to the Artistic License (the "License").
00009 // You may not use this file except in compliance with the License. 
00010 // You may obtain a copy of the License at:
00011 // http://www.opensource.org/licenses/artistic-license.html
00012 //
00013 // If you find this code useful, credits would be nice!
00014 //
00016 
00017 #if !defined(AFX_RESIZABLESTATE_H__INCLUDED_)
00018 #define AFX_RESIZABLESTATE_H__INCLUDED_
00019 
00020 #if _MSC_VER > 1000
00021 #pragma once
00022 #endif // _MSC_VER > 1000
00023 
00024 class CResizableState  
00025 {
00026 protected:
00027         // non-zero if successful
00028         BOOL LoadWindowRect(LPCTSTR pszSection, BOOL bRectOnly);
00029         BOOL SaveWindowRect(LPCTSTR pszSection, BOOL bRectOnly);
00030 
00031         virtual CWnd* GetResizableWnd() = 0;
00032 
00033 public:
00034         CResizableState();
00035         virtual ~CResizableState();
00036 };
00037 
00038 #endif // !defined(AFX_RESIZABLESTATE_H__INCLUDED_)

Generated on Tue Dec 13 14:47:57 2005 for guliverkli by  doxygen 1.4.5