Solved

MouseTip in windows

Posted on 2000-02-21
7
201 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

770 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