Solved

MouseTip in windows

Posted on 2000-02-21
7
199 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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Share codes 68 114
MS Acccess - Update Field in Table when report is printed 6 37
Adding to a VBA? 6 48
Copy a row 12 52
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

705 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

18 Experts available now in Live!

Get 1:1 Help Now