Add an item to a listview using API

You need to use the sendmessage API, and send an LB_ADDITEM to the hwnd of the listbox with the text to add to it. I'll cruft you up an example when I get my PC back and in good working condition :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.