Click here to Skip to main content
15,886,422 members
Articles / Programming Languages / C++

BasicAdmin2 - Personal Finance Software

Rate me:
Please Sign up or sign in to vote.
4.58/5 (8 votes)
4 Nov 2011CPOL3 min read 38.9K   5.9K   33  
Utility to keep track of your finances
#pragma once
#include "../defines.h"
#include "../../BasicAdmin2_Utils/GenDialog/GenDialogManager.h"
#include "../../BasicAdmin2_Utils/Utils/CboTreeControl.h"
#include "../../BasicAdmin2_Model/ClsArrays.h"
#include "../../Librerias/GraphParser/Controls/ColorCtrl.h"
#include "../../BasicAdmin2_Model/ClsGroup.h"

#define IDCA_CBOPARENTTXT	1000
#define IDCC_CBOPARENTBTN   1001
#define IDCC_CBOPARENTSTC   1002

#define IDCC_CBOTXTDESC		1003
#define IDCC_CBOSHORTCUT	1004
#define IDCC_TXTOBS			1005

class EXPIMPCONTACTS ControlsContactGroups: public CGenDialogManager
{
public:
	ControlsContactGroups(void);
	~ControlsContactGroups(void);

	void InitControls();
	void CreateControls();

	CButton GroupBox;
	CCboTreeControl cboParent;
	CEdit TxtDescrip, TxtObs;
	CHotKeyCtrl HtkShortCut;
	void LoadGrpFromForm(ClsGroup* grp);

	CColorCtrl<CStatic> Lbl[6];

	ClsArrays* arr;

	CString SaveOK();

	void LimpiarControles();
	CString Validar();
	void LoadData();
	void InitialFocus();
	void DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	void LoadFormFromGrp(ClsGroup* grp);

	void SwitchToTree();
	void RefreshLabels();
	void PostOrderControls(){};
	int GetIDFromTree();
};

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