trichview.com

trichview.support




Re: Use SendMessage to insert a word to TRichViewEdit


Return to index


Author

Message

Sergey Tkachenko

Posted: 11/14/2004 21:41:13


WM_IME_CHAR is not processed, only WM_IME_STARTCOMPOSITION and

WM_IME_COMPOSITION, but they cannot be used for this purpose.


Why you cannot simply write:


if  (screen.Forms[1].ActiveControl is TRichViewEdit) then

   TRichViewEdit(screen.Forms[1].ActiveControl).InsertTex(...);


?





Powered by ABC Amber Outlook Express Converter