• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

Intercept link under mouse in open Browse

how can i intercept link that appears in the bottom of page (see picture) when i pass with mouse on label link ? , for all browsers
link-under.jpg
0
wackyteseo
Asked:
wackyteseo
  • 8
  • 5
1 Solution
 
systanCommented:
You can intercept it using the Registry;
HKCU\Software\Microsoft\Internet Explorer\Main\
then Edit String: WindowTittle
0
 
wackyteseoAuthor Commented:
i don't understand
0
 
systanCommented:
I'm sorry I think I've misunderstood your q.

>>link that appears in the bottom of page ?
where did you get that link?,  in a web browser?, How come it's on the bottom of the page?,  while links are at the navigation bars.

When you point your mouse cursor at the application taskbar, a label appears exactly in the image you've shown, but that label is the form caption of the web browser window.

What is that web browser?  google_chrome?
0
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!

 
wackyteseoAuthor Commented:
1) i different the management of this function for each browser ?

2) when i point the mouse on a object link of a web page i have this message like in picture
0
 
systanCommented:
>>when i point the mouse on a object link of a web page i have this message like in picture
So,  you want to get that text link and assign it on a TLabel of Delphi?
is that what you want?
0
 
systanCommented:
I think this link; are the same with this question;
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_27018073.html

All you wanted is the link Label!?

It's a huge code if we use all browsers class.
0
 
systanCommented:
Is it Ok for you the link is from Internet Explorer?  I've tested a code here using iE6.
0
 
wackyteseoAuthor Commented:
i try
0
 
systanCommented:
What do you mean i try?  I'm asking you, please read the comments.
0
 
wackyteseoAuthor Commented:
systan the two topic is really different , i this post i need intercept the link hinted when i position the mouse on a link
0
 
systanCommented:
Here's the project;
interceptLink-in-iE.zip
0
 
wackyteseoAuthor Commented:
hi systan , i have only IE9 and not work
0
 
systanCommented:
if you look at the code;
  if Boolean(GetCursorPos(rPos)) then ShowHwndAndClassName(rPos);
  hWindow := FindWindow('IEFRAME', nil);
  hStatusBarHandle := FindWindowEx(hWindow, 0, 'msctls_statusbar32', nil);
  Form1.Caption := GetStatusBarText(hStatusBarHandle, 0);

Open in new window


the "IEFRAME" is the important part to find, I think in iE9 it's "Internet Explorer_Server"
and for the rest of the code, I think you might add a twebbrowser component to get the job done.

There are changes since iE7+, but really the code works on iE6 and was tested.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 8
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now