?
Solved

ListBox - Background Image

Posted on 2004-04-01
2
Medium Priority
?
532 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 225 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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

752 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