Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CRichEditView::WrapChanged 

Call this function when the printing characteristics have changed (SetMargins or SetPaperSize).


virtual void WrapChanged( );

Override this function to modify the way the rich edit view responds to changes in m_nWordWrap or the printing characteristics (OnPrinterChanged).

void CMyRichEditViewTestView::OnInitialUpdate()
{
   CRichEditView::OnInitialUpdate();

   // Turn on the horizontal scroll bar
   m_nWordWrap = WrapNone;
   WrapChanged();
}

Community Additions

ADD
Show:
© 2015 Microsoft