summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/PropertyList.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-26 18:53:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-26 18:53:44 (GMT)
commit2c1fb789d7a182ab0df53aad474a657d59d894b0 (patch)
tree3f4db8d752a6f3a218e92ad470efb97b5e7421c7 /Source/MFCDialog/PropertyList.h
parent6e5af0e6ccbb0f2c0a4aec00003ea0ce68ea2f95 (diff)
downloadCMake-2c1fb789d7a182ab0df53aad474a657d59d894b0.zip
CMake-2c1fb789d7a182ab0df53aad474a657d59d894b0.tar.gz
CMake-2c1fb789d7a182ab0df53aad474a657d59d894b0.tar.bz2
ENH: add help for cache entries
Diffstat (limited to 'Source/MFCDialog/PropertyList.h')
-rw-r--r--Source/MFCDialog/PropertyList.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/MFCDialog/PropertyList.h b/Source/MFCDialog/PropertyList.h
index 57d131e..d54861d 100644
--- a/Source/MFCDialog/PropertyList.h
+++ b/Source/MFCDialog/PropertyList.h
@@ -11,6 +11,7 @@ class CPropertyItem
{
// Attributes
public:
+ CString m_HelpString;
CString m_propName;
CString m_curValue;
int m_nItemType;
@@ -18,8 +19,10 @@ public:
bool m_Removed;
public:
CPropertyItem(CString propName, CString curValue,
+ CString helpString,
int nItemType, CString cmbItems)
{
+ m_HelpString = helpString;
m_Removed = false;
m_propName = propName;
m_curValue = curValue;
@@ -55,6 +58,7 @@ public:
int AddItem(CString txt);
int AddProperty(const char* name,
const char* value,
+ const char* helpString,
int type,
const char* comboItems);
std::set<CPropertyItem*> GetItems()
@@ -95,6 +99,7 @@ protected:
afx_msg void OnChangeEditBox();
afx_msg void OnButton();
afx_msg void OnDelete();
+ afx_msg void OnHelp();
afx_msg void OnCheckBox();
DECLARE_MESSAGE_MAP()