Поделиться через


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 CMyRichEditView::OnInitialUpdate()
{
   CRichEditView::OnInitialUpdate();

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

Требования

Header: afxrich.h

См. также

Основные понятия

CRichEditView Class

CRichEditView Members

Hierarchy Chart

CRichEditView::m_nWordWrap

CRichEditView::OnPrinterChanged

CRichEditView::SetMargins

CRichEditView::SetPaperSize