Click here to Skip to main content
15,896,154 members
Articles / Programming Languages / C++

Personal Finance Application

Rate me:
Please Sign up or sign in to vote.
4.38/5 (11 votes)
10 Jan 2007CPOL4 min read 88.1K   7.9K   69  
Utility to keep track of personal finances

#pragma once

class CComboTree : public CTreeCtrl
{

public:
	CComboTree()
	{
		m_pCombo = NULL;
		m_allowfolders = TRUE;
	}

	virtual ~CComboTree()
	{
	}


	void SetCombo(CComboBox *pCombo)
	{
		m_pCombo = pCombo;
	}

	CComboBox * GetCombo()
	{
		return m_pCombo;
	}

	void AllowFolders(BOOL allow)
	{
		m_allowfolders = allow;
	}

	

private:
	CComboBox *m_pCombo;
	BOOL m_allowfolders;

	//{{AFX_VIRTUAL(CComboTree)
	//}}AFX_VIRTUAL

protected:
	//{{AFX_MSG(CComboTree)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnItemexpanded(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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
Software Developer
Argentina Argentina
System developer from Argentina.

Programmed in VB 5,6,.NET, C#, Java, PL-SQL, Transac-SQL, C, C++ and even some "calculator" language.

Love to build small, useful applications.
Usually building big and complicated apps based on solid, reliable components.

Hobbies: reading, photography, chess, paddle, running.

Comments and Discussions