|
// languageView.cpp : Implementierung der Klasse CLanguageView
//
#include "stdafx.h"
#include "language.h"
#include "languageDoc.h"
#include "languageView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CLanguageView
IMPLEMENT_DYNCREATE(CLanguageView, CView)
BEGIN_MESSAGE_MAP(CLanguageView, CView)
//{{AFX_MSG_MAP(CLanguageView)
// HINWEIS - Hier werden Mapping-Makros vom Klassen-Assistenten eingef�gt und entfernt.
// Innerhalb dieser generierten Quelltextabschnitte NICHTS VER�NDERN!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CLanguageView Konstruktion/Destruktion
CLanguageView::CLanguageView()
{
// ZU ERLEDIGEN: Hier Code zur Konstruktion einf�gen,
}
CLanguageView::~CLanguageView()
{
}
BOOL CLanguageView::PreCreateWindow(CREATESTRUCT& cs)
{
// ZU ERLEDIGEN: �ndern Sie hier die Fensterklasse oder das Erscheinungsbild, indem Sie
// CREATESTRUCT cs modifizieren.
return CView::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////////////
// CLanguageView Zeichnen
void CLanguageView::OnDraw(CDC* pDC)
{
CLanguageDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// ZU ERLEDIGEN: Hier Code zum Zeichnen der urspr�nglichen Daten hinzuf�gen
}
/////////////////////////////////////////////////////////////////////////////
// CLanguageView Diagnose
#ifdef _DEBUG
void CLanguageView::AssertValid() const
{
CView::AssertValid();
}
void CLanguageView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CLanguageDoc* CLanguageView::GetDocument() // Die endg�ltige (nicht zur Fehlersuche kompilierte) Version ist Inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CLanguageDoc)));
return (CLanguageDoc*)m_pDocument;
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CLanguageView Nachrichten-Handler
|
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.
Professional IT developer since 1983. First projects with Cobol, then Pascal, Modula2, C and since Visual C++ 1.0 also with C++ and today C#. Works since 1986 as Consultant, between 1990 and 2008 for Infobrain in Switzerland, from 2008 until 2013 for enValue (also Switzerland) and currently working for Comfone (Bern, Switzerland).
Married, two grown-up daughters, Hobbies : Paragliding, Orienteering, Mountainbiking, Photography