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
This class and its members cannot be used in applications that execute in the Windows Runtime.
class CAtlPreviewCtrlImpl : public CWindowImpl<CAtlPreviewCtrlImpl>, public IPreviewCtrl;
Members
Public Constructors
Name |
Description |
---|---|
Destructs a preview control object. |
|
Constructs a preview control object. |
Public Methods
Name |
Description |
---|---|
Called by a Rich Preview handler to create the Windows window. |
|
Called by a Rich Preview handler when it needs to destroy this control. |
|
Sets input focus to this control. |
|
Handles the WM_PAINT message. |
|
Tells this control to redraw. |
|
Sets a new parent for this control. |
|
Called by a Rich Preview handler when it needs to set visuals of rich preview content. |
|
Sets a new bounding rectangle for this control. |
Protected Methods
Name |
Description |
---|---|
Called by the framework to render the preview. |
Protected Constants
Name |
Description |
---|---|
Font used to display text in the preview window. |
Protected Data Members
Name |
Description |
---|---|
Background color of the preview window. |
|
Text color of preview window. |
Inheritance Hierarchy
TBase
ATL::CMessageMap
ATL::CWindowImplRoot<TBase>
ATL::CWindowImplBaseT<TBase,TWinTraits>
ATL::CWindowImpl<CAtlPreviewCtrlImpl>
IPreviewCtrl
ATL::CAtlPreviewCtrlImpl
Requirements
Header: atlpreviewctrlimpl.h