Hi,

I wonder, if it is possible to add an icon to an item in an existing listview (without icons) ?
Please help...

Greetings,
Nordwind64
Posted on 2003-02-05 13:23:44 by Nordwind64
Hi,

isn't it possible ?

Greetings,
Nordwind64
Posted on 2003-02-06 15:37:18 by Nordwind64
Yes, just send a LVM_SETIMAGELIST and LVM_SETITEM message to it. Listviews always start out with no icons, and you always have to add images to it, there is no such thing as a listview that is created with images already assigned to it.
Posted on 2003-02-06 15:50:02 by BubbaFate
Thank you, BubbaFate !
I will try it.

Greetings,
Nordwind64
Posted on 2003-02-06 23:48:25 by Nordwind64
Hi,

is there a little example ?
I could not get LMV_SETITEM to work...

Greetings,
Nordwind64
Posted on 2003-02-09 16:19:15 by Nordwind64
download the example here http://www.asmcommunity.net/board/index.php?topic=8047&highlight=common+control+macro and look at the listview example.
Posted on 2003-02-09 16:42:36 by BubbaFate
Thank you, BubbaFate !

I've found my error, an error create my imagelist...
Now it works, thanks

Greetings, Nordwind64
Posted on 2003-02-10 10:29:32 by Nordwind64