|
/********************************************************************
created: 2001/11/05
created: 5:11:2001 16:29
filename: D:\My Projects\Own\Add-on\ToDoCached\ShtWorkspace.h
file path: D:\My Projects\Own\Add-on\ToDoCached
file base: ShtWorkspace
file ext: h
author: Alex Kucherenko
purpose:
*********************************************************************/
#if !defined(AFX_SHTWORKSPACE_H__C68FB2B4_CDDE_4314_A891_A3FAC3DF7253__INCLUDED_)
#define AFX_SHTWORKSPACE_H__C68FB2B4_CDDE_4314_A891_A3FAC3DF7253__INCLUDED_
# pragma once
#include "dlg_init.h"
#include "hhsupp.h"
/////////////////////////////////////////////////////////////////////////////
//
class CShtWorkspace
: public CHHPropPage
, public CInitDialogImpl
{
DECLARE_DYNCREATE(CShtWorkspace)
public:
void CreateProjectTree();
CShtWorkspace( CRegistryEx *pReg = NULL );
virtual ~CShtWorkspace();
void SetParser( CToDoWorkSpace *pWork )
{
m_pWorkspace = pWork;
}
//{{AFX_DATA(CShtWorkspace)
enum { IDD = IDD_PAGE_WORKSPACE };
CTreeCtrl m_cTreeView;
CString m_strProjects;
CString m_strFiles;
CString m_strKeys;
BOOL m_bActiveOnly;
CString m_strPath;
//}}AFX_DATA
//{{AFX_VIRTUAL(CShtWorkspace)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
protected:
inline const char *ExtractFileName( const string &name );
virtual void GetInitSettings();
virtual void SetInitSettings();
CToDoWorkSpace *m_pWorkspace;
CImageList m_lstImage;
TStrArray m_arrPath;
char m_Buffer[ MAX_STRING_LENGTH ];
//{{AFX_MSG(CShtWorkspace)
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg void OnSelchangedProjects(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_SHTWORKSPACE_H__C68FB2B4_CDDE_4314_A891_A3FAC3DF7253__INCLUDED_)
|
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.