Valhalla Legends Forums Archive | Battle.net Bot Development | Adding a list view to my C++ bot

AuthorMessageTime
Smithsonian
I'm pretty sure I want a list view for my bot. I downloaded a Sample Win32 program by DarkMinion, and it uses a list view. I can't find list view though on the toolbox of things you can add to your form. I found list box, but I remember those aren't the same thing.

I'm pretty sure it isn't user created either because it appears on the drag-drop editor form - and objects create via CreateWindow or whatever dont usually appear there.

Any suggestions?
July 14, 2005, 8:15 PM
Elneroth
[Toolbar]
Project -> Add To Project -> Components And Controls

Open the folder, "Registered ActiveX Controls",

and choose the file, "Microsoft ListView Control 6.0 (SP4)"

If you don't see this, make sure your project has ActiveX support.

After you instert it, it will show up on the toolbar where you were most likely looking.

Hope this helps
July 15, 2005, 2:58 AM
Kp
A list view is typically implemented using a tree view backed by a list store.  Such a design allows you to add, remove, and sort by any column, as well as have hidden columns to store per-row attributes.
July 15, 2005, 3:29 AM

Search