AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

is there an html edit box?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
silkcom



Joined: 23 Jan 2008
Posts: 162

PostPosted: Mon Jan 19, 2009 8:09 pm    Post subject: is there an html edit box? Reply with quote

1)
I'm interested in making a small chat program, but would like the ability to have emotes, colors, etc in the edit box that shows the chats. Is this possible?

What control? ideally an edit box that just accepts html like code <img src="smiley.gif"> or something like that for the emotes.

Ideally as simple as possible, i'm not looking for it to load actually websites, I just wnat to be able to pass html to it, and it add it to the text that's in there.

2)
How do I make this control automatically scroll to the bottom after I add more text to it? Ideally not using a ctrl-end or anything like that, because the window may not be the active one. (Note i'd like to know this about an edit box if 1 isn't possible, because right now it's kinda annoying)

thanks.
Back to top
View user's profile Send private message
cerewa notloggedin
Guest





PostPosted: Mon Jan 19, 2009 11:30 pm    Post subject: Reply with quote

A regular edit box should accept (but not interpret) html code.

If you want to have your edit box delete HTML code that you type and replace it with images/links/bold, etc it will require some fairly complex code.

Not sure if this type of edit box is what you want, but you might want to search the forums for RichEdit (a rich text edit box).
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group