CAtlPreviewCtrlImpl::SetPreviewVisuals

 

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

Syntax

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.

Remarks

Requirements

Header: atlpreviewctrlimpl.h

See Also

CAtlPreviewCtrlImpl Class