Solved

Custom Tool Tip Popup for VB6 Picture Box

Posted on 2002-05-16
6
596 Views
Last Modified: 2008-02-01
I would like to be able to create my own tool tip popup for VB6 picture boxes.  This is because in certain situations, the built in tool tip box causes unpredictable and uncontrollable paint events, especially in NT and Windows 2000.



0
Comment
Question by:bgdw
[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
6 Comments
 
LVL 5

Expert Comment

by:bob_online
ID: 7014357
Anything you pop up and then remove is going to cause paint events in whatever object it is displayed on top of.

HOwever, you can create your own by creating a form, putting a label on it and displaying the form via a timer.  the timer is disabled and enabled on mousemove over the control you want the tool tip associated with.  when the timer fires, set the caption of the label (if it is not hardcoded) disable the timer and display the form.  If the tooltip is displayed, the timer event hides it.

Set up the form with no border and set the colors and font to mimic a tooltip
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7014467
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 200 total points
ID: 7014889
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7014893
If you need only extreme functionality, you could use a label control instead, showing and hidden accordingly.
0
 

Author Comment

by:bgdw
ID: 7047867
Thanks for the help.  

I didn't phrase the question very well and I apologize for that.  I'm going back to the drawing board and see if I can distill my re-paint issue down a little.  

Thanks again.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7048267
If you need more help, just ask.
Thanks for "A" grade.
0

Featured Post

Technology Partners: 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

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
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…

734 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