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

CAtlPreviewCtrlImpl Class

This class is an ATL implementation of a window that is placed on a host window provided by the Shell for Rich Preview.

Important note Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

class CAtlPreviewCtrlImpl : public CWindowImpl<CAtlPreviewCtrlImpl>, public IPreviewCtrl;

Name

Description

CAtlPreviewCtrlImpl::~CAtlPreviewCtrlImpl

Destructs a preview control object.

CAtlPreviewCtrlImpl::CAtlPreviewCtrlImpl

Constructs a preview control object.

Name

Description

CAtlPreviewCtrlImpl::Create

Called by a Rich Preview handler to create the Windows window.

CAtlPreviewCtrlImpl::Destroy

Called by a Rich Preview handler when it needs to destroy this control.

CAtlPreviewCtrlImpl::Focus

Sets input focus to this control.

CAtlPreviewCtrlImpl::OnPaint

Handles the WM_PAINT message.

CAtlPreviewCtrlImpl::Redraw

Tells this control to redraw.

CAtlPreviewCtrlImpl::SetHost

Sets a new parent for this control.

CAtlPreviewCtrlImpl::SetPreviewVisuals

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

CAtlPreviewCtrlImpl::SetRect

Sets a new bounding rectangle for this control.

Name

Description

CAtlPreviewCtrlImpl::DoPaint

Called by the framework to render the preview.

Name

Description

CAtlPreviewCtrlImpl::m_plf

Font used to display text in the preview window.

Name

Description

CAtlPreviewCtrlImpl::m_clrBack

Background color of the preview window.

CAtlPreviewCtrlImpl::m_clrText

Text color of preview window.

TBase

ATL::CMessageMap

   ATL::CWindowImplRoot<TBase>

      ATL::CWindowImplBaseT<TBase,TWinTraits>

         ATL::CWindowImpl<CAtlPreviewCtrlImpl>

         IPreviewCtrl

            ATL::CAtlPreviewCtrlImpl

Header: atlpreviewctrlimpl.h

Show:
© 2015 Microsoft