|
#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.
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.