[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Addict 3 - Live Spelling Problem



> I have a further problem for you - the double-buffering technique of your
> TAddictRichEdit fails to cater for controls which reflect wysiwyg printer
> formatting (set via the rich edit's EM_SETTARGETDEVICE message). The code
> always formats as if the screen is the target. When a rich edit control is
> formatted for the printer the word-wrapping is screwed up and un-erased
text
> appears all over the place. In these cases, double-buffering needs to be
> turned off.

Agreed...
For now you can do this in your own code w/the DoubleBuffered property.
I've added code to the RichEdits that simply hooks the EM_SETTARGETDEVICE
message.  When recieved, the control is Invalidated and DoubleBuffering is
turned off.

Best Wishes,

Michael Novak
Addictive Software
address@hidden
http://www.addictive.net





Please visit Addict Home Site.