You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This class implements a window that is placed on a host window provided by the Shell for Rich Preview.
12
11
13
12
## Syntax
14
13
15
-
```
14
+
```cpp
16
15
classCMFCPreviewCtrlImpl : publicCWnd;
17
16
```
18
17
@@ -22,282 +21,286 @@ class CMFCPreviewCtrlImpl : public CWnd;
22
21
23
22
|Name|Description|
24
23
|----------|-----------------|
25
-
|[CMFCPreviewCtrlImpl::~CMFCPreviewCtrlImpl](#dtor)|Destructs a preview control object.|
26
-
|[CMFCPreviewCtrlImpl::CMFCPreviewCtrlImpl](#cmfcpreviewctrlimpl)|Constructs a preview control object.|
24
+
|[`CMFCPreviewCtrlImpl::~CMFCPreviewCtrlImpl`](#dtor)|Destructs a preview control object.|
25
+
|[`CMFCPreviewCtrlImpl::CMFCPreviewCtrlImpl`](#cmfcpreviewctrlimpl)|Constructs a preview control object.|
27
26
28
27
### Public Methods
29
28
30
29
|Name|Description|
31
30
|----------|-----------------|
32
-
|[CMFCPreviewCtrlImpl::Create](#create)|Overloaded. Called by a Rich Preview handler to create the Windows window.|
33
-
|[CMFCPreviewCtrlImpl::Destroy](#destroy)|Called by a Rich Preview handler when it needs to destroy this control.|
34
-
|[CMFCPreviewCtrlImpl::Focus](#focus)|Sets input focus to this control.|
35
-
|[CMFCPreviewCtrlImpl::GetDocument](#getdocument)|Returns a document connected to this preview control.|
36
-
|[CMFCPreviewCtrlImpl::Redraw](#redraw)|Tells this control to redraw.|
37
-
|[CMFCPreviewCtrlImpl::SetDocument](#setdocument)|Called by the preview handler to create a relationship between the document implementation and the preview control.|
38
-
|[CMFCPreviewCtrlImpl::SetHost](#sethost)|Sets a new parent for this control.|
39
-
|[CMFCPreviewCtrlImpl::SetPreviewVisuals](#setpreviewvisuals)|Called by a Rich Preview handler when it needs to set visuals of rich preview content.|
40
-
|[CMFCPreviewCtrlImpl::SetRect](#setrect)|Sets a new bounding rectangle for this control.|
31
+
|[`CMFCPreviewCtrlImpl::Create`](#create)|Overloaded. Called by a Rich Preview handler to create the Windows window.|
32
+
|[`CMFCPreviewCtrlImpl::Destroy`](#destroy)|Called by a Rich Preview handler when it needs to destroy this control.|
33
+
|[`CMFCPreviewCtrlImpl::Focus`](#focus)|Sets input focus to this control.|
34
+
|[`CMFCPreviewCtrlImpl::GetDocument`](#getdocument)|Returns a document connected to this preview control.|
35
+
|[`CMFCPreviewCtrlImpl::Redraw`](#redraw)|Tells this control to redraw.|
36
+
|[`CMFCPreviewCtrlImpl::SetDocument`](#setdocument)|Called by the preview handler to create a relationship between the document implementation and the preview control.|
37
+
|[`CMFCPreviewCtrlImpl::SetHost`](#sethost)|Sets a new parent for this control.|
38
+
|[`CMFCPreviewCtrlImpl::SetPreviewVisuals`](#setpreviewvisuals)|Called by a Rich Preview handler when it needs to set visuals of rich preview content.|
39
+
|[`CMFCPreviewCtrlImpl::SetRect`](#setrect)|Sets a new bounding rectangle for this control.|
41
40
42
41
### Protected Methods
43
42
44
43
|Name|Description|
45
44
|----------|-----------------|
46
-
|[CMFCPreviewCtrlImpl::DoPaint](#dopaint)|Called by the framework to render the preview.|
45
+
|[`CMFCPreviewCtrlImpl::DoPaint`](#dopaint)|Called by the framework to render the preview.|
47
46
48
47
### Protected Data Members
49
48
50
49
|Name|Description|
51
50
|----------|-----------------|
52
-
|[CMFCPreviewCtrlImpl::m_clrBackColor](#m_clrbackcolor)|Background color of preview window.|
53
-
|[CMFCPreviewCtrlImpl::m_clrTextColor](#m_clrtextcolor)|Text color of preview window.|
54
-
|[CMFCPreviewCtrlImpl::m_font](#m_font)|Font used to display text in the preview window.|
55
-
|[CMFCPreviewCtrlImpl::m_pDocument](#m_pdocument)|A pointer to a document whose content is previewed in the control.|
51
+
|[`CMFCPreviewCtrlImpl::m_clrBackColor`](#m_clrbackcolor)|Background color of preview window.|
52
+
|[`CMFCPreviewCtrlImpl::m_clrTextColor`](#m_clrtextcolor)|Text color of preview window.|
53
+
|[`CMFCPreviewCtrlImpl::m_font`](#m_font)|Font used to display text in the preview window.|
54
+
|[`CMFCPreviewCtrlImpl::m_pDocument`](#m_pdocument)|A pointer to a document whose content is previewed in the control.|
0 commit comments