Skip to main content
Home Forums Silverlight Programming Game Development How to add or insert png or emoticon in a textbox ?
5 replies. Latest Post by Furukoo on October 28, 2009.
(0)
Furukoo
Member
3 points
14 Posts
10-17-2009 5:57 PM |
I develop chat box for my project.I want add support for emoticons (like msn) to mu chat box.Can you tell me simple way to add or insert image (png) in textbox ? (VB code if possible ? or xaml ? )Thanks a lottry chat here : UserName : guest / Pass : guest
http://www.furukoo.fr/furukoov2/TestPage.html
Thanks a lotYvan
mchlsync
Star
14606 points
2,730 Posts
10-17-2009 11:52 PM |
Hello, I don't think it's possible to add the image in TextBox. You can take a look at this sample http://michaelsync.net/2008/04/14/silverlight-2-beta1-rich-text-viewer
I got your comment. Do you think that it's so complex? I think it's not that complex.
shamrat231
Contributor
4677 points
595 Posts
10-18-2009 1:59 AM |
try this,
http://www.codeplex.com/richtextedit
Sharker Khaleed MahmudSoftware Developer(MCP,MCTS,MCPD[web])
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
10-18-2009 3:19 AM |
Thanks for quick reply ...
mchlsync:I got your comment. Do you think that it's so complex? I think it's not that complex.
Your RichTextBox is fully fonctionalities. Great.I just want TextBox whit emoticon support. Il dont need full option like your RichTextBox.What is your way for adding msn emoticones and insert in the text ?I just want to understand how to.Yvan
Katana
4 points
2 Posts
10-21-2009 7:20 PM |
A textbox is inherently a bit limited in what it can do, mainly so we don't have fully-featured high-graphics textboxes for every input method. Basically, all it can hold is text. The ability to actually put an image - an object of its own, inside, a rich textbox is kind of necessary. I might bet that most existing IM clients use something like that. Hope that helps.
10-28-2009 6:40 AM |
I try to learn RichTextBox editeur.But they don't work.I try :- one TextBox for enter message (SendBox)- one TextBox for displaying (ChatBox)Have you sample ?Thanks