Solved

MouseTip in windows

Posted on 2000-02-21
7
205 Views
Last Modified: 2008-03-03
If you move the mouse-pointer over some elements in windows, a tiny messagebox with a 'mouse-tip' is shown at the x-y coordinates of the mouse-pointer.

Does anyone know how this text is displayed?

Is it possible to access a DLL (or similar) which take x+y+textToDisplay as parameters? or is it possible to write ones own DLL that do the same?

Erot?
0
Comment
Question by:erot
[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
  • 2
  • 2
  • +1
7 Comments
 
LVL 3

Expert Comment

by:Gordonp
ID: 2542212
Most controls in VB5+ have a tooltip property. Put your tip in here and VB does the rest.

Gordon
0
 

Author Comment

by:erot
ID: 2542372
My idea was to create or access a DLL or similar that I could access from JavaScript from an InterNetBrowser and then produce the tooltip.

I'm aware of the Title tag within InternetExplorer but this does not work with Netscape.

Erot
0
 
LVL 12

Expert Comment

by:roverm
ID: 2542415
You can use the mouse_event API to capture to x-y coordinates of the mouse.
Then write you're own sub to display a text.

See:
http://www.thescarms.com/vbasic/showwindow.htm

This is a nice example of getting the mouse info.

D'Mzzl!
RoverM
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 12

Expert Comment

by:roverm
ID: 2542421
Ps:
If you don't like Gordonp's answer, just reject it. Then the question will be re-opened!

0
 
LVL 32

Expert Comment

by:Erick37
ID: 2543717
0
 

Author Comment

by:erot
ID: 2567989
Thanks everybody for your effort in answering....

Sorry to say that I cannot divide the points.....

Erick37 came with the answer that was best for my application so the points go to him.

Erick37 please put in some dummy text, so I can give you the answer.
Thanks a lot!!

Erot

0
 
LVL 32

Accepted Solution

by:
Erick37 earned 200 total points
ID: 2569193
Thanks!
Glad it helped.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

688 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