Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Topaz on August 04, 2005, 09:14 PM

Title: URL Detection
Post by: Topaz on August 04, 2005, 09:14 PM
I looked for URL Detection functions on Google, yet most of them deformed the colors I applied. Does anyone have a working one?
Title: Re: URL Detection
Post by: Yegg on August 04, 2005, 09:48 PM
Did you use pscode.com (or vbcode.com) as a reference yet?
Title: Re: URL Detection
Post by: Topaz on August 04, 2005, 10:11 PM
Yeah, none of them really helped.
Title: Re: URL Detection
Post by: R.a.B.B.i.T on August 05, 2005, 12:02 AM
*cough*vbforums (http://vbforums.com/showthread.php?t=289208&highlight=richtextbox+url)*/cough*
Title: Re: URL Detection
Post by: Topaz on August 05, 2005, 10:35 AM
I tried, it deformed my colors!
Title: Re: URL Detection
Post by: UserLoser. on August 05, 2005, 02:01 PM
See EM_AUTOURLDETECT (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/richedit/richeditcontrols/richeditcontrolreference/richeditmessages/em_autourldetect.asp).
Title: Re: URL Detection
Post by: R.a.B.B.i.T on August 05, 2005, 04:56 PM
That's what my link was to, with a bit of code to boot.
Title: Re: URL Detection
Post by: Soul Taker on August 05, 2005, 10:59 PM
But if he's not using the default Windows theme, it's likely that the link color which Windows selects will be deformed.  I think he wants a way to fix that.
Title: Re: URL Detection
Post by: Warrior on August 05, 2005, 11:19 PM
Why don't you detect the URLs manually and set the underline+color?
Title: Re: URL Detection
Post by: hismajesty on August 05, 2005, 11:28 PM
http://www.stealthbot.net/forum/index.php?showtopic=3157