Add icon to a listview

G

Gil_H

Hi EV1,
I have the list of all faceid (icons).
Now, i want to add to a listview in 'lvwReport' view an icon.
How do i do that?
1) Is that the way "MyListViewItem.Icon = ????" , and if it is so, what
do have to write?
2) Do i have to find the path of all those icons?
3) Do i have to copy them to my ImageList?
Thanx,
Gil H
 
S

Shyam Pillai

You cannot directly access the Office icons in your activex controls. The
office icons are baked into the Office dlls. You can find tools online which
will allow you to extract them. Then you try loading it up in your controls
by creating an imagelist and associating it with your listview.


--
Regards,
Shyam Pillai

Animation Carbon
http://www.animationcarbon.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top