|
#pragma once
#include "Options.h"
#include "ColourListCtrl.h"
class OptionsDlg : public CDialog
{
DECLARE_DYNAMIC(OptionsDlg)
public:
OptionsDlg(const Options& options, CWnd* pParent = NULL);
virtual ~OptionsDlg();
const Options& GetOptions() const;
protected:
virtual BOOL OnInitDialog();
virtual void DoDataExchange(CDataExchange* pDX);
void RefreshExcludedFilesList();
void UpdateExcludedFilesButtons();
void RefreshHighlightedFilesList();
void UpdateHighlightedFilesButtons();
protected:
afx_msg void OnExcludeAddClicked();
afx_msg void OnExcludeEditClicked();
afx_msg void OnExcludeRemoveClicked();
afx_msg void OnExcludeSelChange(NMHDR*, LRESULT* pResult);
afx_msg void OnHighlightedAddClicked();
afx_msg void OnHighlightedEditClicked();
afx_msg void OnHighlightedRemoveClicked();
afx_msg void OnHighlightedSelChange(NMHDR*, LRESULT* pResult);
afx_msg void OnAboutBtnClicked();
DECLARE_MESSAGE_MAP()
private:
Options m_Options;
CButton m_EditExcludedFileButton;
CButton m_RemoveExcludedFileButton;
CListCtrl m_ExcludedFileList;
CButton m_EditHighlightedFileButton;
CButton m_RemoveHighlightedFileButton;
ColourListCtrl m_HighlightedFileList;
};
|
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.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.