Click here to Skip to main content
13,560,290 members
Click here to Skip to main content
Add your own
alternative version


56 bookmarked
Posted 5 Jul 2005
Licenced CPOL

Property List based Listbox

, 5 Jul 2005
Rate this:
Please Sign up or sign in to vote.
Property list based listbox like VB PropertyList.

Sample Image - Property_List.gif


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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Runming Yan
Software Developer (Senior)
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

QuestionProperty List based Listbox Pin
jinming86829-Sep-14 1:06
memberjinming86829-Sep-14 1:06 
QuestionThanks it would be good if support Multicomlumn Pin
maplewang10-Aug-12 20:03
membermaplewang10-Aug-12 20:03 
Generalit's great, thank you but Pin
btcamel28-Oct-06 0:24
memberbtcamel28-Oct-06 0:24 
GeneralRe: it's great, thank you but Pin
btcamel28-Oct-06 23:52
memberbtcamel28-Oct-06 23:52 
Generalgreat! Pin
javenreal31-Aug-06 1:26
memberjavenreal31-Aug-06 1:26 
GeneralView Pin
picazo6-Mar-06 10:51
memberpicazo6-Mar-06 10:51 
GeneralRe: View Pin
To Quang Hiep2-Dec-06 15:52
memberTo Quang Hiep2-Dec-06 15:52 
Questionhow to remove LBS_SORT style? Pin
gswang5-Jan-06 14:07
membergswang5-Jan-06 14:07 
AnswerRe: how to remove LBS_SORT style? Pin
Fletch5724-Oct-08 4:29
memberFletch5724-Oct-08 4:29 
Generalvery good!! Pin
philophos1-Oct-05 18:19
memberphilophos1-Oct-05 18:19 
GeneralListBox with headrs Pin
Pradeep Reddy G.C29-Sep-05 18:32
sussPradeep Reddy G.C29-Sep-05 18:32 
GeneralVS.NET 2003: Errors C2040 and C2446 Pin
Mr. S18-Sep-05 9:04
memberMr. S18-Sep-05 9:04 
GeneralVery Nice! Pin
WREY5-Jul-05 7:28
memberWREY5-Jul-05 7:28 
GeneralRe: Very Nice! Pin
gswang5-Jan-06 14:05
membergswang5-Jan-06 14:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web03-2016 | 2.8.180527.3 | Last Updated 5 Jul 2005
Article Copyright 2005 by Runming Yan
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid