Detecting hyperlinks in the mail contents

R

Rajan Phatak

Hi All,

I want to detect the hyperlinks in the mail contents and get the contents whenever the mouse cursor is changing. Can somebody please tell me how can I achieve this?Do I need to handle any windows events of Outlook itself generates any event for same?

-Rajan
 
K

Ken Slovak - [MVP - Outlook]

There is no event in Outlook when the cursor changes shapes. You would have
to detect that using Win32 API callbacks on a message hook. To detect
hyperlinks you would have to read the contents of Body or HTMLBody and
figure out where the links are located.
 
R

Rajan Phatak

I can get the Cursor Change events through Win32 APIs. But is there any process to get the hyperlink text at the point where i will right click?

-Rajan
 
D

Dmitry Streblechenko

RTF control sends the EN_LINK notification message to the parent window
whenever mouse hovers oever a link.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Top