This is my first question in Stackoverflow.
My question is: how to implement speech bubble control (that is used for conversation — I mean, chat) on MFC.
I want to find an easy way, rather than making a custom control from the CScrollWnd. Or I want to use a Richedit component.
Does anybody know any source code or example?
- That must embed a custom progress control.
- That must embed an OLE control (like Richedit).
You could embed a web control, and borrow from work that’s already been done on CSS theming to mimic the effect:
http://www.rwe-uk.com/blog/comments/ichat_like_speech_bubbles_with_css_3/
I’d use Qt’s QtWebKit, myself:
http://qt-project.org/doc/qt-4.8/examples-webkit.html
It has a lot of flexibility, including embedding an arbitrary Qt Widget into a web layout and communicating with it. That could be a progress bar, or in this example…a QTableWidget:
http://qt-project.org/doc/qt-4.8/webkit-webplugin.html
But I’m sure MFC has some kind of internet-explorer-embedding these days that works better than it used to. (Okay, I’m not that sure.)