Solved

List Box that allows icons without an imagelist

Posted on 2000-05-16
6
150 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
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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA filters 2 67
Macro Excel - Multiple If conditions 2 81
Added a column screws up code 5 63
Error with a code discussed on this page 5 33
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

821 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