Click here to Skip to main content
15,886,737 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 "afxwin.h"
#include "Controls/ListBoxST.h"
#include "Utilities/TrayNot.h"
#define CDIAG 4

// Cuadro de di�logo de CDlgMain

class CDlgMain : public CDialog
{
	DECLARE_DYNAMIC(CDlgMain)

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

// Datos del cuadro de di�logo
	enum { IDD = IDD_DLGMAIN };
	CCashMApp* m_app;
protected:
	HICON m_hIcon;
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();

	virtual void DoDataExchange(CDataExchange* pDX);    // Compatibilidad con DDX/DDV
	CImageList			m_ImageList;
	void CreateImageList();
	DECLARE_MESSAGE_MAP()
	BOOL OnInitDialog();
	CDialog *Dialogs[CDIAG];
	void OnSize(UINT nType, int cx, int cy);

	CTrayNot* m_pTray;
	BOOL m_bHidden;
	int PosBefore;

	afx_msg LONG OnTrayNotify ( WPARAM wParam, LPARAM lParam ) ;
	afx_msg void OnTrayRestore();
	afx_msg void OnHideapp();
	afx_msg void OnHide();
	afx_msg void OnUnHide();
	afx_msg void OnDestroy();
	void OnSysCommand(UINT nID, LPARAM lParam);
	BOOL visible;
	void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
public:
	CListBoxST LstOptions;
	afx_msg void OnLbnSelchangeListId();
};

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