Quote Originally Posted by Nightwish
Actually, no. It does work with multiple background colors. That's how I did it from the beginning (using CHARFORMAT2 to obtain the background at the current selection).

The main problem is/was that smileyadd, when replacing the smileycodes, has no idea whether the current text selection belongs to an incoming or outgoing message or maybe a nickname. So, the only way to get the background color to create the "transparent" (it's only faked transparency) icon is to use EM_GETCHARFORMAT for the current selection.

A "manual" way to set the background color via a service parameter would still be useful in some situations though.
To correct Nightwish here. The described logic was in the smileyadd plugin originally but was enabled only in tabsrmm version of it. Only in recent versions I merged it into the main line (as well as other tabsrmm specific code so that there is no plugin specific code any more) so it is avilable to users of other SRMMs.