AutoHotkey Community

It is currently May 26th, 2012, 2:21 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: January 19th, 2009, 9:09 pm 
Offline

Joined: January 23rd, 2008, 6:38 pm
Posts: 162
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 20th, 2009, 12:30 am 
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).


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: G. Sperotto, Google Feedfetcher, poserpro and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group