In an application I was developing, there was a need to implement some kind of user interface for changing an objects properties for different types of objects. Some objects properties are static, but there are objects whose properties are changing, reflecting their actual state. So I decided to create a Microsoft Visual Basic like control that can display different property items according to an objects state.
Lets take a simple example.
I need to describe the properties of individual items of a form. The items can display simple text, but also a concrete representation from a database. In the sample screen above, the Data and Data format categories will be removed from the properties list when the Data binding item is set to no. How it works The CPropertyListCtrl class implements the neccessary utility for presenting property items and user interaction. The CInPlaceEditImp and CInPlaceComboBox classes implement in place controls for editing item values for strings and for list items or enumerations respectively.