Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Changing Row Height in an owner drawn Control

, 8 Nov 2001 CPOL
Changing the Row Height in an owner drawn List View Control
multiline.zip
multiline
Debug
Multiline.exe
Multiline.clw
Multiline.dsp
Multiline.dsw
Multiline.opt
Multiline.plg
res
Multiline.ico
MultilineDoc.ico
Toolbar.bmp
// MultilineDoc.cpp : implementation of the CMultilineDoc class
//

#include "stdafx.h"
#include "Multiline.h"

#include "MultilineDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMultilineDoc

IMPLEMENT_DYNCREATE(CMultilineDoc, CDocument)

BEGIN_MESSAGE_MAP(CMultilineDoc, CDocument)
	//{{AFX_MSG_MAP(CMultilineDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMultilineDoc construction/destruction

CMultilineDoc::CMultilineDoc()
{
	// TODO: add one-time construction code here

}

CMultilineDoc::~CMultilineDoc()
{
}

BOOL CMultilineDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CMultilineDoc serialization

void CMultilineDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CMultilineDoc diagnostics

#ifdef _DEBUG
void CMultilineDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CMultilineDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMultilineDoc commands

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Uwe Keim
Chief Technology Officer Zeta Producer Desktop CMS
Germany Germany
Uwe does programming since 1989 with experiences in Assembler, C++, MFC and lots of web- and database stuff and now uses ASP.NET and C# extensively, too. He has also teached programming to students at the local university.
 
In his free time, he does climbing, running and mountain biking. Recently he became a father of a cute boy.
 
Some cool, free software from us:
 
Free Test Management Software - Intuitive, competitive, Test Plans. Download now!  
Homepage erstellen - Intuitive, very easy to use. Download now!  
Send large Files online for free by Email
Offline-Homepage-Baukasten

| Advertise | Privacy | Mobile
Web02 | 2.8.141015.1 | Last Updated 9 Nov 2001
Article Copyright 2001 by Uwe Keim
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid