Solved

ListBox - Background Image

Posted on 2004-04-01
2
493 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now