Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Death-Merchant on September 11, 2003, 12:30 AM

Title: Links in chat window.
Post by: Death-Merchant on September 11, 2003, 12:30 AM
I've been wondering, how do you underline links in the main chat window?  Like if someone types something starting with http://
Title: Re:Links in chat window.
Post by: Camel on September 11, 2003, 01:03 AM
SendMessage txtChat.hwnd, EM_AUTOURLDETECT, 1, 0
Title: Re:Links in chat window.
Post by: UserLoser on September 11, 2003, 04:08 PM
also highlights ftp://, telnet://, and i believe some other ones
Title: Re:Links in chat window.
Post by: Soul Taker on September 11, 2003, 04:13 PM
Yes, links...
Title: Re:Links in chat window.
Post by: Hitmen on September 11, 2003, 04:50 PM
Does it highlight unreal:// links? :)
Title: Re:Links in chat window.
Post by: Soul Taker on September 11, 2003, 06:51 PM
Quote from: Hitmen on September 11, 2003, 04:50 PM
Does it highlight unreal:// links? :)
[7:50:16 PM] <From: SoulTaker 2:31> unreal://www.blah.com
Nope.
Title: Re:Links in chat window.
Post by: Eibro on September 11, 2003, 07:15 PM
Quote from: Soul Taker on September 11, 2003, 06:51 PM
Quote from: Hitmen on September 11, 2003, 04:50 PM
Does it highlight unreal:// links? :)
[7:50:16 PM] <From: SoulTaker 2:31> unreal://www.blah.com
Nope.
Do you have unreal installed? I'd assume you'd need the nessecary registry modifications for the textbox to recognize such links.
Title: Re:Links in chat window.
Post by: Soul Taker on September 11, 2003, 09:57 PM
His question didn't say anything about having it installed =P
Title: Re:Links in chat window.
Post by: CrAz3D on September 11, 2003, 10:09 PM
http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=30222&lngWId=1 (http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=30222&lngWId=1)
Title: Re:Links in chat window.
Post by: UserLoser on September 12, 2003, 03:55 PM
Quote from: Soul Taker on September 11, 2003, 06:51 PM
Quote from: Hitmen on September 11, 2003, 04:50 PM
Does it highlight unreal:// links? :)
[7:50:16 PM] <From: SoulTaker 2:31> unreal://www.blah.com
Nope.

Pasting that just makes no sense, how are we supposed to know if that highlighted on the bot you're using when viewing it here?
Title: Re:Links in chat window.
Post by: Soul Taker on September 12, 2003, 11:20 PM
Was showing you what I tested with in case I made any error that anyone would want to point out to me.