Click here to Skip to main content
15,891,033 members
Articles / Desktop Programming / MFC

A Float Tree Control like the Parameter List Control in Visual Studio

Rate me:
Please Sign up or sign in to vote.
3.44/5 (6 votes)
9 Apr 20021 min read 135.1K   2.6K   25  
In Visual Studio, you will find an auto-completion list when you type your code in the IDE. This is a similar control but using a tree.
// vs_treectrl.h : main header file for the VS_TREECTRL application
//

#if !defined(AFX_VS_TREECTRL_H__280FFFAE_BD45_4CA7_B29A_F1FB113BA74A__INCLUDED_)
#define AFX_VS_TREECTRL_H__280FFFAE_BD45_4CA7_B29A_F1FB113BA74A__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"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CVs_treectrlApp:
// See vs_treectrl.cpp for the implementation of this class
//

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

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVs_treectrlApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CVs_treectrlApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VS_TREECTRL_H__280FFFAE_BD45_4CA7_B29A_F1FB113BA74A__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
Software Developer (Senior)
China China
I'm write program from 1990. My research field is CAG,CAD and Image processing. I select C/C++, ASP, Java, XML as my usaully developing tools. Occasional , write code in Delphi and VB. I'm using Visual C++ from 1996. If you have anything unclear, e-mail to :zhou_cn123@sina.com Software Engineering and CAD is my mainly research program.

You also can reach me on msn: zhoujohnson@hotmail.com

Comments and Discussions