diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-25 22:30:27 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-25 22:30:27 (GMT) |
commit | a5eac44d1833c80ce82dad9331418f1119582f3b (patch) | |
tree | b42d695d47580684a1b8a92785d5870921bb6273 /Source/MFCDialog/PropertyList.h | |
parent | 4ab2650802f7b0addce7860aff4fd5a2709eae24 (diff) | |
download | CMake-a5eac44d1833c80ce82dad9331418f1119582f3b.zip CMake-a5eac44d1833c80ce82dad9331418f1119582f3b.tar.gz CMake-a5eac44d1833c80ce82dad9331418f1119582f3b.tar.bz2 |
ENH: rework GUI with configure/OK/Cancel
Diffstat (limited to 'Source/MFCDialog/PropertyList.h')
-rw-r--r-- | Source/MFCDialog/PropertyList.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/MFCDialog/PropertyList.h b/Source/MFCDialog/PropertyList.h index 9224e6d..3db0474 100644 --- a/Source/MFCDialog/PropertyList.h +++ b/Source/MFCDialog/PropertyList.h @@ -16,12 +16,14 @@ public: CString m_curValue; int m_nItemType; CString m_cmbItems; + bool m_NewValue; bool m_Removed; public: CPropertyItem(CString propName, CString curValue, CString helpString, int nItemType, CString cmbItems) { + m_NewValue = true; m_HelpString = helpString; m_Removed = false; m_propName = propName; @@ -63,7 +65,9 @@ public: const char* value, const char* helpString, int type, - const char* comboItems); + const char* comboItems, + bool reverseOrder); + void HideControls(); std::set<CPropertyItem*> GetItems() { return m_PropertyItems; @@ -111,7 +115,7 @@ protected: void InvertLine(CDC* pDC,CPoint ptFrom,CPoint ptTo); void DisplayButton(CRect region); - int AddPropItem(CPropertyItem* pItem); + int AddPropItem(CPropertyItem* pItem, bool top); void InvalidateList(); CComboBox m_cmbBox; |