CAtlPreviewCtrlImpl::SetPreviewVisuals

Called by a Rich Preview handler when it needs to set visuals of rich preview content.

virtual void SetPreviewVisuals(
   COLORREF clrBack,
   COLORREF clrText,
   const LOGFONTW *plf
);

Parameters

  • clrBack
    Background color of the preview window.

  • clrText
    Text color of the preview window.

  • plf
    Font used to display text in the preview window.

Requirements

Header: atlpreviewctrlimpl.h

See Also

Reference

CAtlPreviewCtrlImpl Class