Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Property List based Listbox

0.00/5 (No votes)
5 Jul 2005 1  
Property list based listbox like VB PropertyList.

Sample Image - Property_List.gif

Introduction

This class implements a property list like VB. This control is based on the MFC CListbox and it allows you to edit the values easily, like edit box, dropdownlist, dropdown, checkcombobox, color, font, folder dialog, file dialog, IP address control, date time checkbox.

If you want to use this control, please follow the following:

  1. The following eight files are necessary:
    • PropertyList.cpp
    • PropertyList.h
    • checkboxes.bmp
    • ChkComboBox.cpp
    • ChkComboBox.h
    • FoldersDialog.cpp
    • FoldersDialog.h
    • MemDC.h

    The checkboxes.bmp must be added into your project and its resource ID must be "IDB_CHECKBOX".

  2. Modify the list box properties as Owner draw: Variable and Has strings.

License

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