CPropertyListView is a custom control to display and modify properties of a window, application settings, or whatever you want.
Current version is 7KB small (nasm code), and supports items of type:
- bool - true/false
- int
- unsigned int
- hex - only with 0x prefix
- string
- string list - the list is displayed in a popup listbox
Items of type int/hex/string are editable in small edit control, items of type bool/list you can change only by selecting from the list.
The first column is resizable - just drag the divider with mouse in same way as in listview.
Keys: up/down (in edit too) changes the selection, F4 pops/hides the listbox, ESC only hides the listbox. Return in edit control moves the selection to next item.
Any suggestions and bugs are welcome.
One bug is known: after some clicks inside two editable rows - first column/second column - the edit control eats the first character :)
I can not find what is wrong.
Edit December 2008: added the assembly source.
You always do great work. Thanks for sharing!
Very impressive! and also very useful.
Thank you very much.
Haim