The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: asmbeginner on July 03, 2010, 07:38:37 PM

Title: Listbox with 2 columns and combobox style fields
Post by: asmbeginner on July 03, 2010, 07:38:37 PM
Hi all,

I made a search on the net and came accross a webpage with a similar subject. But there wasnt any code snippet nor source code.
As you know, ie. visual studio has a properties window for the controls. It has 2 columns and some fields like combobox.
How can it be done in assembly language?
If you give me a small source code for a sample properties window, i will be grateful.

Thanks.
Title: Re: Listbox with 2 columns and combobox style fields
Post by: Tedd on July 04, 2010, 12:08:37 PM
The multi-column 'listbox' is actually a "ListView" (in 'report' mode) so that part is easy and already done for you.
You'll have to do the custom fields yourself though - set the callback mask and then react to item selection by creating the combo-box in-place; and wrap it all up as a subclass.
Advanced level, I think :wink