Click here to Skip to main content
15,898,010 members
Articles / Desktop Programming / MFC

CResizableFormView

Rate me:
Please Sign up or sign in to vote.
3.50/5 (27 votes)
6 Jun 2001 188.5K   2.5K   45  
Extension of Paolo Messina's CResizableDialog concept
// formview2Doc.h : interface of the CFormview2Doc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_FORMVIEW2DOC_H__5FCBDA8B_C53B_11D4_B7AB_0050DAB84384__INCLUDED_)
#define AFX_FORMVIEW2DOC_H__5FCBDA8B_C53B_11D4_B7AB_0050DAB84384__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CFormview2Doc : public CDocument
{
protected: // create from serialization only
	CFormview2Doc();
	DECLARE_DYNCREATE(CFormview2Doc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFormview2Doc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CFormview2Doc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CFormview2Doc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FORMVIEW2DOC_H__5FCBDA8B_C53B_11D4_B7AB_0050DAB84384__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior) Paddedwall Software
United States United States
I've been paid as a programmer since 1982 with experience in Pascal, and C++ (both self-taught), and began writing Windows programs in 1991 using Visual C++ and MFC. In the 2nd half of 2007, I started writing C# Windows Forms and ASP.Net applications, and have since done WPF, Silverlight, WCF, web services, and Windows services.

My weakest point is that my moments of clarity are too brief to hold a meaningful conversation that requires more than 30 seconds to complete. Thankfully, grunts of agreement are all that is required to conduct most discussions without committing to any particular belief system.

Comments and Discussions