Jump to content
  • Advertisement

Archived

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

griffenjam

Non-MFC Multicolumn listbox example

This topic is 5956 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

Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!