Click here to Skip to main content
15,881,424 members
Articles / Desktop Programming / MFC

SuperGrid - Yet Another listview control

Rate me:
Please Sign up or sign in to vote.
4.77/5 (98 votes)
8 Dec 1999CPOL3 min read 1M   11.4K   345  
A combination list control and tree control with checkbox capability
#if !defined(AFX_TESTTREEDLG_H__C6DF171C_806D_11D2_9A94_002018026B76__INCLUDED_)
#define AFX_TESTTREEDLG_H__C6DF171C_806D_11D2_9A94_002018026B76__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TestTreeDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTestTreeDlg dialog
#include "MySuperGrid.h"


class CTestTreeDlg : public CDialog
{
// Construction
public:
	CTestTreeDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CTestTreeDlg)
	enum { IDD = IDD_DIALOG_SUPERGRID };
	CStatic	m_Frame;
	//}}AFX_DATA
	CMySuperGrid m_List;
	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestTreeDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTestTreeDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonInsert();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TESTTREEDLG_H__C6DF171C_806D_11D2_9A94_002018026B76__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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions