Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ListBox - Background Image

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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

618 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