?
Solved

List Box that allows icons without an imagelist

Posted on 2000-05-16
6
Medium Priority
?
153 Views
Last Modified: 2010-05-02
How can I get icons in a list box without using image lists? What control can I use. I want to display something similar to the standard Windows Browse Dialog.
0
Comment
Question by:bubbles
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 7

Expert Comment

by:Vbmaster
ID: 2815549
Here's free code to get owner-drawn comboboxes..

http://www.vbaccelerator.com/codelib/odcbolst/article.htm
0
 

Expert Comment

by:VBDude
ID: 2815745
Um, AFAIK you can't. What is the reason why you don't want to use image lists?
0
 
LVL 4

Expert Comment

by:dreamvb
ID: 2816249
I Don't Think you can Do this sort of Thing in Visual Basic Without tons of Lines of API Code qhich won't reay be worth it The only other hing you can jeck out is

Http://www.activex.com
 May be there will be a control there
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 28

Expert Comment

by:Ark
ID: 2816544
Hi
>How can I get icons in a list box without using image lists? <
How can you get icons in a list box with using image lists?
Plz, clarify your question - what do you want (start point - end point)
Cheers
0
 
LVL 7

Expert Comment

by:Vbmaster
ID: 2816778
Perhaps he doesn't have any use of a Toolbar/Listview and feels like it's a waste of a 1Mb ocx to get only Imagelists. If so, you (bubbles) can find a replacement for the imagelist at vbaccelerator.com, using some simple API's.
0
 

Accepted Solution

by:
VBDude earned 40 total points
ID: 2817259
Now that I think of it, you can assign your icons by code if you want. Try placing the icons in a resource file then load them and assign them as you (bubbles) add items to your list view. You'll likely need a small (16x16 generally) and a large (32x32 generally) copy of each.

HTH,
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question