Solved

List Box that allows icons without an imagelist

Posted on 2000-05-16
6
152 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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 20 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

Industry Leaders: 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!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

707 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