Advertisement

How do I use a multi-column list box?

Started by February 07, 2000 12:51 PM
1 comment, last by Gamefrk 24 years, 10 months ago
How do I use a multi-column list box?
IIRC, a multi-column listbox is merely a listbox that allows horizontal scrolling of items as well as vertical. It does not allow you to have several columns for a single item, instead, it looks something like this:

item 1  item 5item 2  item 6item 3  item 7item 4 


If this is what you want, then specify LBS_MULTICOLUMN when you create your listbox, the API will do the rest.

If you want your items to have several columns of information, use a CListCtrl.

-fel

Edited by - felisandria on 2/7/00 1:58:47 PM
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~
Advertisement
I don''t know how to use MFC. I want to make like column headers etc, like how napster is, is there a way to do that without using MFC?

This topic is closed to new replies.

Advertisement