• Welcome to Valhalla Legends Archive.
 

Adding a list view to my C++ bot

Started by Smithsonian, July 14, 2005, 03:15 PM

Previous topic - Next topic

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?

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

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.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!