Click here to Skip to main content
15,895,557 members
Articles / Desktop Programming / MFC

Custom Drawn Vertical Tree Control

Rate me:
Please Sign up or sign in to vote.
4.93/5 (39 votes)
14 Oct 20053 min read 148.7K   3.3K   107  
A CTreeCtrl derived class which is both: a normal CTreeCtrl or a fully custom drawn vertical tree control
// VerticalTree.h : Haupt-Header-Datei f�r die Anwendung VERTICALTREE
//

#if !defined(AFX_VERTICALTREE_H__C63F22A2_30D3_4D05_8643_E8319B183880__INCLUDED_)
#define AFX_VERTICALTREE_H__C63F22A2_30D3_4D05_8643_E8319B183880__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// Hauptsymbole

/////////////////////////////////////////////////////////////////////////////
// CVerticalTreeApp:
// Siehe VerticalTree.cpp f�r die Implementierung dieser Klasse
//

class CVerticalTreeApp : public CWinApp
{
public:
	CVerticalTreeApp();

// �berladungen
	// Vom Klassenassistenten generierte �berladungen virtueller Funktionen
	//{{AFX_VIRTUAL(CVerticalTreeApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementierung

	//{{AFX_MSG(CVerticalTreeApp)
		// HINWEIS - An dieser Stelle werden Member-Funktionen vom Klassen-Assistenten eingef�gt und entfernt.
		//    Innerhalb dieser generierten Quelltextabschnitte NICHTS VER�NDERN!
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ f�gt unmittelbar vor der vorhergehenden Zeile zus�tzliche Deklarationen ein.

#endif // !defined(AFX_VERTICALTREE_H__C63F22A2_30D3_4D05_8643_E8319B183880__INCLUDED_)

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.


Written By
Chief Technology Officer W3L
Germany Germany
-Since 1th August 2007: Chief Technology Officer of W3L
-2002/08/01-2007/07/31: PhD student
-1997/10/15-2002/07/31: Studied Electrical Engineering and Computer Science

Comments and Discussions