Click here to Skip to main content
15,885,365 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 87.9K   7.9K   69  
Utility to keep track of personal finances
#pragma once
#include "afxcmn.h"
#include "../SQLite/CppSQLite3.h"  // S�mbolos principales
#include "CashMDlg.h"

// Cuadro de di�logo de CDlgTree

class CDlgTree : public CDialog
{
	DECLARE_DYNAMIC(CDlgTree)

public:
	CDlgTree(CWnd* pParent = NULL);   // Constructor est�ndar
	virtual ~CDlgTree();

// Datos del cuadro de di�logo
	enum { IDD = IDD_DLGTREE };

protected:
	
	virtual void DoDataExchange(CDataExchange* pDX);    // Compatibilidad con DDX/DDV
	BOOL OnInitDialog();
	CImageList* m_pimagelist;
	void SetImgList();
	void LoadTree();
	void LoadNode(HTREEITEM NodeParent);
	DECLARE_MESSAGE_MAP()
	void OnSize(UINT nType, int cx, int cy);
public:
	CppSQLite3DB* db;
	BOOL Edit;
	afx_msg void OnBnClickedAddaccount();
	CTreeCtrl m_Tree;
	void OpAccount(CString Name, int Op /*0 is root, 1 is child*/, WORD Modifiers, WORD wVirtualKeyCode, CString strcur, int rplus, int rminus);
	CCashMDlg* pcashdlg;

public:
	afx_msg void OnBnClickedRenameaccount();
public:
	afx_msg void OnBnClickedDelete();
public:
	CHotKeyCtrl HkcTree;
public:
	afx_msg void OnTvnSelchangedTree(NMHDR *pNMHDR, LRESULT *pResult);
};

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