|
// MyAppView.h : interface of the CMyAppView class
//
#pragma once
class CMyAppView : public CEditView
{
protected: // create from serialization only
CMyAppView();
DECLARE_DYNCREATE(CMyAppView)
// Attributes
public:
CMyAppDoc* GetDocument() const;
// Operations
public:
// Overrides
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
// Implementation
public:
virtual ~CMyAppView();
#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 MyAppView.cpp
inline CMyAppDoc* CMyAppView::GetDocument() const
{ return reinterpret_cast<CMyAppDoc*>(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.
In December 2004, I left my day job to create appTranslator (
http://www.apptranslator.com), a great localization tool for your Visual C++ applications.
appTranslator helps you painlessly manage the translations of your applications thanks to WYWIWYG translation-oriented resource editors, immediate tracking of items to be translated, immediate tracking of new and modified items, merging of translations, and more...
Don't hesitate to drop me a line. I love feedback