Re: EM_STREAMOUT richedit

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mksoft (mksoft__at_hotmail.com)
Date: 11/30/04


Date: Tue, 30 Nov 2004 18:21:57 +0100

Damned...
Then what am i supposed to do to have same thing in the richedit and in the
rtf when reading with word?

"Kyle Alons" <reply@to.newsgroup> a écrit dans le message de news:
e4owwZu1EHA.2196@TK2MSFTNGP14.phx.gbl...
> Page margins aren't stored in the RTF file.
>
> --
> ---------------------------------------------------
> Automate your software builds with Visual Build Pro
> http://www.visualbuild.com/
>
> "Mksoft" <mksoft_@hotmail.com> wrote in message
> news:41ac6cca$0$2074$626a14ce@news.free.fr...
>> Hello
>>
>> I use EM_STREAMOUT to export my richedit control to RTF file.
>> It works pretty well.
>> But !
>> When i open the file in wordpad or word, margins are not like i have in
>> my richedit.
>> There is an additional margin to the entire doc, i can see it in 'page
>> setup', left and right margins are 2.5 centimers.
>> I can't find how to change that !
>>
>> Please help i searching that for days...
>>
>> Thanks a lot
>>
>
>



Relevant Pages

  • Re: RichTextBoxes and RTF Files Redux
    ... etc., but when I open the file in Word, the margins are ... Unless the rtf file itself contains page margin information then MS ... codes into the correct place in the RTB's TextRTF property, ...
    (comp.lang.basic.visual.misc)
  • Re: Is there a difference between Word and Wordpad?
    ... If you edit it in WP as an RTF document and set simple ... margins and fonts, it should be OK. ... CutePDF - Create PDF for free, Save PDF Forms, Edit PDF ... |> be a RTF or a DOC file extension. ...
    (microsoft.public.windowsxp.general)
  • Re: access output to word wrapping fields funny
    ... Have you checked the margins on the report are the same as in your Word ... to an RTF which is then opened in word). ... Anyone else have these frustrations? ...
    (microsoft.public.access.reports)
  • Re: Changing page margins or usable page area in an RTF TextEdit document? (10.4.11)
    ... the margins between the edges of the paper and the usable area of the ... answer being that you can't do this -- you can only create a new RTF ... app, then Copy/Paste the contents of the existing document into this new ... Is the Tiger version of TextEdit really this limited? ...
    (comp.sys.mac.apps)
  • Re: Richedit and margins
    ... Rich edit controls do support only a subset of the rtf capabilities; ... Are there any other controls that support full richedit ... I have succesfully set margins in the view by calling SetMargins. ...
    (microsoft.public.vc.mfc)