|
// MDIFrameBackgroundView.h : interface of the CMDIFrameBackgroundView class
//
#pragma once
class CMDIFrameBackgroundView : public CEditView
{
protected: // create from serialization only
CMDIFrameBackgroundView();
DECLARE_DYNCREATE(CMDIFrameBackgroundView)
// Attributes
public:
CMDIFrameBackgroundDoc* GetDocument() const;
// Operations
public:
// Overrides
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
// Implementation
public:
virtual ~CMDIFrameBackgroundView();
#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 MDIFrameBackgroundView.cpp
inline CMDIFrameBackgroundDoc* CMDIFrameBackgroundView::GetDocument() const
{ return reinterpret_cast<CMDIFrameBackgroundDoc*>(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.
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
Ali Rafiee has been developing windows applications using C++ since 1991, and he hasn't looked back since. Ali has been a software development consultant for must of his career, but he has finally settled down and has been working for an educational software company since 2000. While he is not working, he is either learning C#, flying airplanes, playing with his daughter, or answering peoples question on newsgroups, he finds that to be a great learning tool for himself.
Ali is also a Microsoft Visual C++ MVP.