Click here to Skip to main content
15,879,535 members
Articles / Desktop Programming / ATL

Create a Universal Document Template which supports Dynamic Frame Window Layout

Rate me:
Please Sign up or sign in to vote.
3.00/5 (8 votes)
14 Dec 20024 min read 49.2K   668   24  
Introduce a programming technology to design a very complex, rich document type.
// VisualFrameWorkView.h : interface of the CVisualFrameWorkView class
//


#pragma once

class CVisualFrameWorkDoc;
class CVisualFrameWorkView : public CTangramDesignView
{
protected: // create from serialization only
	CVisualFrameWorkView();
	DECLARE_DYNCREATE(CVisualFrameWorkView)

// Attributes
public:
	CVisualFrameWorkDoc* GetDocument() const;

// Operations
public:
//////////////////$tangramapp$////////////////////////////
	virtual void SetDesignerPage();
//////////////////$tangramapp end$////////////////////////////

// Overrides
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
protected:

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

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in VisualFrameWorkView.cpp
inline CVisualFrameWorkDoc* CVisualFrameWorkView::GetDocument() const
   { return reinterpret_cast<CVisualFrameWorkDoc*>(m_pDocument); }
#endif

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
Web Developer
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions