Archived

This topic is now archived and is closed to further replies.

Non-MFC Multicolumn listbox example

This topic is 5619 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Try using ListView control... or ListControl (hmp..., whatever they call it). It has four popular modes: LargeIcon, SmallIcon, List and, Detail/Report... "My Computer" has it, you should know.

Don''t use ListBox control.

Share this post


Link to post
Share on other sites
It''s called a ListView. After some trial and error and by using the docs (messages begin with LVM_) I was able to get a basic application going. One thing that I found confusing at first was adding data to the other columns. To do this you use the LVM_SETITEM message and have iSubItem of the LVITEM structure set to the column number (0 based of course) you want to add the data too.

What specfic problems are you having though?



I will not make a list of links... I will not make a list of links... I will not make a list of links...
Invader''s Realm

Share this post


Link to post
Share on other sites
I need to use a milticolumn list box to display...well a table of data. But I don''t know how to add stuff to the other columns and I''ve looked through the help (MSDN) that canme with VC++. I will try a list view, that would even look better.

Jason Mickela
ICQ : 873518
Excuse my speling.

The V-Town Have-Nots

Share this post


Link to post
Share on other sites