Solved

MouseTip in windows

Posted on 2000-02-21
7
200 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
  • 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
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.

 
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

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

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

867 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

22 Experts available now in Live!

Get 1:1 Help Now