Click here to Skip to main content
Licence CPOL
First Posted 5 Jul 2005
Views 61,935
Bookmarked 42 times

Property List based Listbox

By | 5 Jul 2005 | Article
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, 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

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Generalit's great, thank you but Pinmemberbtcamel0:24 28 Oct '06  
GeneralRe: it's great, thank you but Pinmemberbtcamel23:52 28 Oct '06  
Generalgreat! Pinmemberjavenreal1:26 31 Aug '06  
GeneralView Pinmemberpicazo10:51 6 Mar '06  
GeneralRe: View PinmemberTo Quang Hiep15:52 2 Dec '06  
Questionhow to remove LBS_SORT style? Pinmembergswang14:07 5 Jan '06  
AnswerRe: how to remove LBS_SORT style? PinmemberFletch574:29 24 Oct '08  
Generalvery good!! Pinmemberphilophos18:19 1 Oct '05  
GeneralListBox with headrs PinsussPradeep Reddy G.C18:32 29 Sep '05  
GeneralVS.NET 2003: Errors C2040 and C2446 PinmemberMr. S9:04 18 Sep '05  
GeneralVery Nice! PinmemberWREY7:28 5 Jul '05  
GeneralRe: Very Nice! Pinmembergswang14:05 5 Jan '06  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web01 | 2.5.120517.1 | Last Updated 5 Jul 2005
Article Copyright 2005 by Runming Yan
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid