By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,558 Members | 1,673 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,558 IT Pros & Developers. It's quick & easy.

How to display/ change icons in listbox

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Mamatha" <ma***********@yahoo.com>'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)

--
Absentee: A missing golf peg. (Liguorian)

[Abolish the TV License - http://www.tvlicensing.biz/]

Nov 21 '05 #2

P: n/a
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.

"Mamatha" <ma***********@yahoo.com> wrote in message
news:1c****************************@phx.gbl...
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

Nov 21 '05 #3

P: n/a
"Robin Tucker" <id*************************@reallyidont.com> schrieb:
Using a list box, you need to make it "owner draw"


ListBox with Icons
<URL:http://www.codeproject.com/cs/combobox/glistbox.asp>

I'd use a listview control instead...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.