O.P. Ambitious new plugin
Guys
I'm writing a new plugin. I've manged to get the api working and can trap events and all that stuff. I'm doing it in C++ and I'm fairly happy with COM.
My plugin needs to trap inbound and outbound messages (this is easy) and also manipulate the text entry and main chat windows. I see how it is easy to get an IDispatch pointer back from OnIMWindowCreated but this doesn't really let me get at the richedit control of either the typed message or the chat window. Does anybody know how to get a COM pointer to these windows or even a HWND to the rich edit window (which I assume it is).
In my plugin I intend to add a whole range of rich tags like animated smiley's, sound clips and files, even video perhaps. To send these the user will send tags to the person they are chatting. If they don't have the plugin the tag will tell them how to install it. If they do have the plugin they will see the rich content. I may well be missing somthing obvious however.
I notice Pichou seems to hook the richedit dll because he has a dll in his distribution called RichEdHook.dll. He doesn't however expose any of this in his API that I can see.
Any help would be much appreciated. I even have a small budget to pay people if anybody is interested.
|