Webgadget: detect that a URL has been detected!

Windows specific forum
Seymour Clufley
Addict
Addict
Posts: 1266
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Webgadget: detect that a URL has been detected!

Post by Seymour Clufley »

Strangely Google doesn't seem to have record of anybody else trying to do this with a WebBrowser.

I've got custom HTML with a ContentEditable DIV being streamed into the webgadget. Within a ContentEditable element, the user can type text and if they type a URL (or email address), IE will detect it and format it with the standard hyperlink appearance and HREF tag etc.

By default, the webgadget's IDM_AutoUrlDetect_Mode will be set to TRUE. That's fine. I don't want to change that.

What I want to do is detect that a URL has been detected!

This is so that my program can react to a URL being typed and do the formatting itself. It doesn't need to cancel IE's default formatting because that can be easily reversed; it just needs to know that a URL has been detected.

Any takers?

Thanks for reading,
Seymour.
Nico
Enthusiast
Enthusiast
Posts: 274
Joined: Sun Jan 11, 2004 11:34 am
Location: France

Post by Nico »

Search elementFromPoint in the Forum.
Post Reply