Click here to Skip to main content
Click here to Skip to main content

Store and show Tree struct in a Combobox

By , 31 Jul 2002
 
cwzcombox_demo.zip
testcbx.exe
cwzcombox_src.zip
testcbx
res
small2.ico
small3.ico
small4.ico
small5.ico
studio18c.BMP
testcbx.ico
testcbx.clw
testcbx.dsp
testcbx.dsw
testcbx.log
// testcbxDlg.h : header file
//

#if !defined(AFX_TESTCBXDLG_H__E9CD2159_AE6D_4E1C_A132_AA77A0AA4F65__INCLUDED_)
#define AFX_TESTCBXDLG_H__E9CD2159_AE6D_4E1C_A132_AA77A0AA4F65__INCLUDED_

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

#include "WzComboBox.h"

/////////////////////////////////////////////////////////////////////////////
// CTestcbxDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CTestcbxDlg)
	enum { IDD = IDD_TESTCBX_DIALOG };
	CWzComboBox	m_comboType;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestcbxDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTestcbxDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TESTCBXDLG_H__E9CD2159_AE6D_4E1C_A132_AA77A0AA4F65__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of use 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 GNU General Public License (GPLv3)

About the Author

Simon.W
Software Developer (Senior)
China China
Member
I had graduated from HuaZhong University of Science & Technology. Now, I'm working in ZTE.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 1 Aug 2002
Article Copyright 2002 by Simon.W
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid