Skip to content

Commit b2ac604

Browse files
author
Michael Blome
committed
a few more fixes in atl and mfc
1 parent 89790d1 commit b2ac604

File tree

5 files changed

+115
-6
lines changed

5 files changed

+115
-6
lines changed

docs/atl-mfc-shared/reference/ctime-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ CTime() throw();
213213
A [FILETIME](https://www.microsoftonedoc.com/#/organizations/e6f6a65cf14f462597b64ac058dbe1d0/projects/3fedad16-eaf1-41a6-8f96-0c1949c68f32/containers/a3daf831-1c5f-4bbe-964d-503870caf874/tocpaths/979ce746-dc17-4147-89f8-41d05c5fcc5f/locales/en-us) structure to be converted to a date/time value and copied into the new `CTime` object.
214214

215215
dbts
216-
A reference to a <xref:System.Data.OleDb.OleDbTypequalifyHint%3DFalse%26autoUpgrade%3DTrue> structure containing the current local time.
216+
A reference to a DBTIMESTAMP structure containing the current local time.
217217

218218
### Remarks
219219
Each constructor is described below:
@@ -312,15 +312,15 @@ CString FormatGmt(UINT nFormatID) const;
312312
See the example for [CTime::Format](#ctime__format).
313313

314314
## <a name="ctime__getasdbtimestamp"></a> CTime::GetAsDBTIMESTAMP
315-
Call this member function to convert the time information stored in the `CTime` object to a Win32–compatible <xref:System.Data.OleDb.OleDbTypequalifyHint%3DFalse%26autoUpgrade%3DTrue> structure.
315+
Call this member function to convert the time information stored in the `CTime` object to a Win32–compatible DBTIMESTAMP structure.
316316

317317
```
318318
bool GetAsDBTIMESTAMP(DBTIMESTAMP& dbts) const throw();
319319
```
320320

321321
### Parameters
322322
`dbts`
323-
A reference to a <xref:System.Data.OleDb.OleDbTypequalifyHint%3DFalse%26autoUpgrade%3DTrue> structure containing the current local time.
323+
A reference to a DBTIMESTAMP structure containing the current local time.
324324

325325
### Return Value
326326
Nonzero if successful; otherwise 0.

docs/mfc/reference/clistctrl-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ CString GetEmptyText() const;
948948
```
949949
950950
### Return Value
951-
A [CString](../using-cstring.md) that contains the text to display if the control is empty.
951+
A [CString](../../atl-mfc-shared/reference/cstringt-class.md) that contains the text to display if the control is empty.
952952
953953
### Remarks
954954
This method sends the [LVM_GETEMPTYTEXT](http://msdn.microsoft.com/library/windows/desktop/bb774921) message, which is described in the [!INCLUDE[winSDK](./includes/winsdk_md.md)].

docs/mfc/reference/colecontrol-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ virtual HRESULT GetClassID(LPCLSID pclsid) = 0;
11741174
Nonzero if the call was not successful; otherwise 0.
11751175

11761176
### Remarks
1177-
Usually implemented by the [IMPLEMENT_OLECREATE_EX](class-factories-and-licensing.md#implement_olecreate_ex macro).
1177+
Usually implemented by the [IMPLEMENT_OLECREATE_EX](class-factories-and-licensing.md#implement_olecreate_ex).
11781178

11791179
## <a name="colecontrol__getclientoffset"></a> COleControl::GetClientOffset
11801180
Retrieves the difference between the upper left corner of the control's rectangular area and the upper left corner of its client area.
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
title: "CSplitterWndEx Class | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "11/04/2016"
5+
ms.reviewer: ""
6+
ms.suite: ""
7+
ms.technology:
8+
- "devlang-cpp"
9+
ms.tgt_pltfrm: ""
10+
ms.topic: "reference"
11+
f1_keywords:
12+
- "CSplitterWndEx"
13+
dev_langs:
14+
- "C++"
15+
helpviewer_keywords:
16+
- "CSplitterWndEx"
17+
18+
ms.assetid: 33e5eef3-05e1-4a07-a968-bf9207ce8598
19+
caps.latest.revision: 24
20+
author: "mikeblome"
21+
ms.author: "mblome"
22+
manager: "ghogen"
23+
translation.priority.ht:
24+
- "cs-cz"
25+
- "de-de"
26+
- "es-es"
27+
- "fr-fr"
28+
- "it-it"
29+
- "ja-jp"
30+
- "ko-kr"
31+
- "pl-pl"
32+
- "pt-br"
33+
- "ru-ru"
34+
- "tr-tr"
35+
- "zh-cn"
36+
- "zh-tw"
37+
---
38+
# CSplitterWndEx Class
39+
40+
41+
42+
Represents a customized splitter window.
43+
44+
## Syntax
45+
46+
```
47+
class CSplitterWndEx : public CSplitterWnd
48+
```
49+
50+
## Members
51+
52+
### Public Constructors
53+
54+
|Name|Description|
55+
|----------|-----------------|
56+
|`CSplitterWndEx::CSplitterWndEx`|Default constructor.|
57+
|`CSplitterWndEx::~CSplitterWndEx`|Destructor.|
58+
59+
### Public Methods
60+
61+
|Name|Description|
62+
|----------|-----------------|
63+
|[CSplitterWndEx::OnDrawSplitter](#csplitterwndex__ondrawsplitter)|Called by the framework to draw a splitter window. (Overrides [CSplitterWnd::OnDrawSplitter](csplitterwnd-class.md#csplitterwnd__ondrawsplitter).)|
64+
65+
## Remarks
66+
Override the `OnDrawSplitter` method to customize the appearance of the graphical components of a splitter window.
67+
68+
The `CSplitterWndEx` class is used together with the [OnDrawSplitterBorder](cmfcvisualmanager-class.md#cmfcvisualmanager__ondrawsplitterborder), [OnDrawSplitterBox](cmfcvisualmanager-class.md#cmfcvisualmanager__ondrawsplitterbox), and [OnFillSplitterBackground](cmfcvisualmanager-class.md#cmfcvisualmanager__onfillsplitterbackground) methods, which are implemented by a visual manager. To cause a visual manager to draw a splitter window in your application, replace declarations of the `CSplitterWnd` class with the `CSplitterWndEx` class. For frame window applications, the splitter window class is declared in the CMainFrame class that is located in mainfrm.h. For an example, see the `OutlookDemo` sample in the Samples directory.
69+
70+
## Inheritance Hierarchy
71+
[CObject](cobject-class.md)
72+
73+
[CCmdTarget](ccmdtarget-class.md)
74+
75+
[CWnd](cwnd-class.md)
76+
77+
[CSplitterWnd](csplitterwnd-class.md)
78+
79+
## Requirements
80+
**Header:** afxsplitterwndex.h
81+
82+
## <a name="csplitterwndex__ondrawsplitter"></a> CSplitterWndEx::OnDrawSplitter
83+
Called by the framework to draw a splitter window.
84+
85+
```
86+
virtual void OnDrawSplitter(
87+
CDC* pDC,
88+
ESplitType nType,
89+
const CRect& rect
90+
);
91+
```
92+
93+
### Parameters
94+
[in] `pDC`
95+
Pointer to the device context. If this parameter is `NULL`, the framework redraws the active window.
96+
97+
[in] `nType`
98+
One of the `CSplitterWnd::ESplitType` enumeration values that specifies the splitter window element to draw. Valid values are `splitBox`, `splitBar`, `splitIntersection`, and `splitBorder`.
99+
100+
[in] `rect`
101+
A bounding rectangle that specifies the dimensions and location to draw the specified splitter window element.
102+
103+
### Remarks
104+
105+
## See Also
106+
[Hierarchy Chart](../hierarchy-chart.md)
107+
[Classes](../mfc-classes.md)
108+
[CSplitterWnd Class](csplitterwnd-class.md)
109+
[CMFCVisualManager Class](cmfcvisualmanager-class.md)

docs/mfc/reference/cwinformsview-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class CWinFormsView : public CView;
7474
> MFC Windows Forms integration works only in projects which link dynamically with MFC (projects in which AFXDLL is defined).
7575
7676
> [!NOTE]
77-
> CWinFormsView does not support the MFC splitter window ( [CSplitterWnd Class](../../mfc/reference/csplitterwnd-class.md)). Currently only the Windows Forms Splitter control ( <xref:System.Windows.Forms.SplitterqualifyHint%3DFalse%26autoUpgrade%3DTrue>) is supported.
77+
> CWinFormsView does not support the MFC splitter window ( [CSplitterWnd Class](../../mfc/reference/csplitterwnd-class.md)). Currently only the Windows Forms Splitter control is supported.
7878
7979
## Requirements
8080
**Header:** afxwinforms.h

0 commit comments

Comments
 (0)