[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Addict 3 - Live Spelling Problem
- To: <address@hidden>
- Subject: RE: Addict 3 - Live Spelling Problem
- From: "Addictive Software" <address@hidden>
- Date: Wed, 14 Feb 2001 01:51:15 -0800
- Delivered-to: mailing list addict3list@mlm.addictive-software.com
- Importance: Normal
- In-reply-to: <000601c095d8$574db980$38c41f3e@DESKTOP>
- Mailing-list: contact addict3list-help@mlm.addictive-software.com; run by ezmlm
- Reply-to: <address@hidden>
> 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.