trichview.com

trichview.support




Re: Messagehandling to Sergey Tkachenko


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/07/2003 23:47:37


> Can TRichViewEdit be in any conflict with TRichEdit, since I use this on

> some forms in my project?


No. RichEdits and RichViewEdits do not send messages to other controls (only

to itself), so they cannot conflict.

As for processing standard richedit messages (EM_UNDO, EM_REDO, EM_CANUNDO,

EM_CANREDO, EM_CANPASTE - some of them are lager than WM_USER) - RichViewEdi

processes them by rules of RichEdits.


But as for RichView own messages (codes < WM_USER + 20) - sending them with

unexpected parameters can cause corruption.

Especially  WM_USER + 15 where the component expects pointer to the

dynamically allocated structure and frees memory for it.








Powered by ABC Amber Outlook Express Converter