Solved

ListBox - Background Image

Posted on 2004-04-01
2
525 Views
Last Modified: 2013-12-25
Is there anyway to have a background image to a listbox?  If there is no way, is there atleast any ActiveX for this?

Thanks
Srik
0
Comment
Question by:vi_srikanth
[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
2 Comments
 
LVL 5

Accepted Solution

by:
Alok-Agarwal earned 75 total points
ID: 10731334
Hi srikanth,

You can get the desired result by subclassing Listboxes.

Kindly visit the URL

http://www.elitevb.com/content/01,0007,01/

and you will find loads of articles dedicated to subclassing of List boxes.

I hope that would definitely help you.

Thanks
Alok
0
 
LVL 4

Author Comment

by:vi_srikanth
ID: 10738549
Hi Alok

I'm using VBA for MS Word.  In that i dont have the ".Handle" property for images/pictures.  Hence it doesn't work there.

Is there any other way? i.e. is there any other api or is there any other way to get the ".Handle" value of an image control in VBA?  I faced a similar problem in VBA: There is no ".hWnd" property for forms.  But there is an api thru which we can get that value.

Thanks
Srik
0

Featured Post

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!

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

691 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