954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Add an item to a listview using API

Add an item to a listview using API

bouzahme
Newbie Poster
4 posts since Mar 2005
Reputation Points: 10
Solved Threads: 0
 

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 :)

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You