Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.