|
/********************************************************************\
created: 2001/04/07
created: 7:4:2001 20:39
filename: todooptions.h
file path: no matter
file base: todooptions
file ext: h
author: Alex Kucherenko
purpose:
\********************************************************************/
#if !defined(AFX_TODOOPTIONS_H__E5994FBA_F3DB_47FE_A8CB_AEBED3EF5DE3__INCLUDED_)
#define AFX_TODOOPTIONS_H__E5994FBA_F3DB_47FE_A8CB_AEBED3EF5DE3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ToDoRegistry.h"
#ifndef MAX_STRING_LENGTH
#define MAX_STRING_LENGTH 8192
#endif
/////////////////////////////////////////////////////////////////////////////
// CToDoOptions dialog
class CToDoOptions : public CDialog
{
public:
CToDoOptions(CWnd* pParent = NULL); // standard constructor
~CToDoOptions( );
static string ExtractFileName( const string &FullPath );
void InitMap( CToDoWorkSpace *pWork )
{ m_pWorkSpace = pWork; };
void InitRegistry( CToDoRegistry *pReg )
{ m_pRegKey = pReg; };
void CreateComboBoxList( void );
//{{AFX_DATA(CToDoOptions)
enum { IDD = IDD_OPTION_DLG };
CButton m_cDelBtn;
CButton m_cAddBtn;
CButton m_cDoneBtn;
CTreeCtrl m_cTreeView;
CComboBox m_cSearchCombo;
BOOL m_bAllItems;
BOOL m_bActiveOnly;
CString m_strExtesions;
CString m_strKeyWord;
CString m_strTitle;
CString m_strCombo;
//}}AFX_DATA
private:
CToDoWorkSpace *m_pWorkSpace;
CToDoRegistry *m_pRegKey;
CImageList m_lstImage;
BOOL m_bIsAdded;
//{{AFX_VIRTUAL(CToDoOptions)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
void CreateProjectTree();
//{{AFX_MSG(CToDoOptions)
virtual BOOL OnInitDialog();
afx_msg void OnInsBtn();
afx_msg void OnDelBtn();
afx_msg void OnDoneBtn();
afx_msg void OnOk();
virtual void OnCancel();
afx_msg void OnSelchangeFindCombo();
afx_msg void OnChangeKeyword();
afx_msg void OnChangeTitle();
afx_msg void OnSortBtn();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_TODOOPTIONS_H__E5994FBA_F3DB_47FE_A8CB_AEBED3EF5DE3__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.