Click here to Skip to main content
12,397,805 members (47,492 online)
Click here to Skip to main content

Stats

94.1K views
1.8K downloads
48 bookmarked
Posted

Multilingual Application - Change Application Language

, 17 Nov 1999
Multilingual Application - Change Application Language
// 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.

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

Share

About the Author

Daniel Zuppinger
Chief Technology Officer
Switzerland Switzerland
Professional IT developer since 1983. First projects with Cobol, then Pascal, Modula2, C and since Visual C++ 1.0 also with C++. Works since 1986 as Consultant, between 1990 and 2008 for Infobrain in Switzerland, currently employed by enValue (also Switzerland).
Current field is the project management and development of software for Bank applications.
Married, two daughters, Hobbies : Paragliding, Orienteering, Mountainbiking, Photography

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160721.1 | Last Updated 18 Nov 1999
Article Copyright 1999 by Daniel Zuppinger
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid