How to display/ change icons in listbox

M

Mamatha

Hi

I want to develop my application and displaying icons with
the items in the listbox.For example i have displayed some
webpage paths in the listbox and i want to display an icon
(Internet Explorer symbol)besides the item.How can i
disply,if suggest me thanks in advance.


Mamatha
 
J

Jan Hyde

"Mamatha" <[email protected]>'s wild thoughts were
released on Mon, 4 Oct 2004 07:06:24 -0700 bearing the
following fruit:
Hi

I want to develop my application and displaying icons with
the items in the listbox.For example i have displayed some
webpage paths in the listbox and i want to display an icon
(Internet Explorer symbol)besides the item.How can i
disply,if suggest me thanks in advance.

Use a different control that does support this. The listview
or a grid control for example.




Jan Hyde (VB MVP)
 
R

Robin Tucker

Using a list box, you need to make it "owner draw" and then render each list
box row yourself. However, a ListView already has the facility to display
an icon along-side a row, so you might want to look at using that instead.
 

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