Skip to main content

Microsoft Silverlight

Unanswered Question How to add or insert png or emoticon in a textbox ?RSS Feed

(0)

Furukoo
Furukoo

Member

Member

3 points

14 Posts

How to add or insert png or emoticon in a textbox ?

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 lot

try chat here : UserName : guest / Pass : guest

http://www.furukoo.fr/furukoov2/TestPage.html


Thanks a lot

Yvan

www.furukoo.fr

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP

Re: How to add or insert png or emoticon in a textbox ?

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.

 

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


shamrat231
shamrat231

Contributor

Contributor

4677 points

595 Posts

Re: How to add or insert png or emoticon in a textbox ?

try this,

http://www.codeplex.com/richtextedit

Sharker Khaleed Mahmud
Software 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.

Dhaka, Bangladesh
LinkedIn :: SL Profile :: Blog

Furukoo
Furukoo

Member

Member

3 points

14 Posts

Re: How to add or insert png or emoticon in a textbox ?

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

www.furukoo.fr

Katana
Katana

Member

Member

4 points

2 Posts

Re: How to add or insert png or emoticon in a textbox ?

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.

Furukoo
Furukoo

Member

Member

3 points

14 Posts

Re: How to add or insert png or emoticon in a textbox ?

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

www.furukoo.fr
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities