Linkification

Started by ianmc, August 09, 2004, 11:23:10 AM

Previous topic - Next topic

ianmc

Using an edit control or a rich edit control, what would be involved in making part of the text
behave as a link to either a file or a URL and appear as blue (or red) and be clickable?

My idea is to be able to linkify some text in the control so for example the user would
select some text, then right click and choose 'linkify' and be able to then choose a file
or a URL and then when later the text appears, the selected text will be a link and
when the user clicks on the link it will either open the URL or it will open the file in
its associated application.

If the file in question was not present then the 'link' would appear in red with maybe a
tooltip saying 'the associated file is not present'

don't ask much do i :)

ian

ianmc

I'll post this question on the PB forums too but perhaps Paul might have some ideas on the matter? I know he's getting rather good at windoze programming :)

Cheers

ian