I am trying to build a chat app, and I am using C++ with the Win32 API for the graphics and networking.
I want the ability to add icons (such smilies, roses etc.) as an integral part of text lines (both for "edit" and "static" window types).
There is the naive (and extremely and clumsy solution) to show a bitmap on top of the window where it should appear, making a space between 2 words and move it as the text scroll down and up. This is almost impractical solution.
My question is - is there any good options/ideas how to incorporate small pictures (bitmaps) as icons, smilies etc. in static/edit windows types and more specifically - inside a line?
Thanks!