Skip to content

Commit 2535e92

Browse files
authored
Merge pull request MicrosoftDocs#838 from mikeblome/mb-2015
VS 2015 migration - working PR
2 parents 2204c0a + 3c8c32a commit 2535e92

47 files changed

Lines changed: 821 additions & 869 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.localization-config

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"Filters": [
3+
{
4+
"Files": [
5+
"**/*.md"
6+
],
7+
"Priorities": [
8+
{
9+
"Priority": "ht",
10+
"Locales": [],
11+
"Type": "ht"
12+
}
13+
]
14+
}
15+
],
16+
"IncludeDependencies": true,
17+
"AutoPush": true,
18+
"XliffVersion": "1.2",
19+
"UseJavascriptMarkdownTransformer": true
20+
}

.openpublishing.publish.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build_output_subfolder": "vcppdocs",
88
"locale": "en-us",
99
"monikers": [],
10-
"moniker_ranges": [],
10+
"moniker_ranges": [">= vs-2015"],
1111
"open_to_public_contributors": true,
1212
"type_mapping": {
1313
"Conceptual": "Content",

.openpublishing.redirection.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,51 @@
2525
"redirect_url": "/cpp/atl/atl-com-desktop-components",
2626
"redirect_document_id": false
2727
},
28+
{
29+
"source_path": "docs/atl/which-atl-classes-facilitate-activex-control-containment-q.md",
30+
"redirect_url": "/cpp/atl/atl-control-containment-faq",
31+
"redirect_document_id": false
32+
},
33+
{
34+
"source_path": "docs/atl/what-is-the-atl-control-hosting-api-q.md",
35+
"redirect_url": "/cpp/atl/atl-control-containment-faq",
36+
"redirect_document_id": false
37+
},
38+
{
39+
"source_path": "docs/atl/what-is-atlaxwin100-q.md",
40+
"redirect_url": "/cpp/atl/atl-control-containment-faq",
41+
"redirect_document_id": false
42+
},
43+
{
44+
"source_path": "docs/atl/when-do-i-need-to-call-atlaxwininit-q.md",
45+
"redirect_url": "/cpp/atl/atl-control-containment-faq",
46+
"redirect_document_id": false
47+
},
48+
{
49+
"source_path": "docs/atl/what-is-a-host-object-q.md",
50+
"redirect_url": "/cpp/atl/atl-control-containment-faq",
51+
"redirect_document_id": false
52+
},
53+
{
54+
"source_path": "docs/atl/can-i-host-more-than-one-control-in-a-single-window-q.md",
55+
"redirect_url": "/cpp/atl/atl-control-containment-faq",
56+
"redirect_document_id": false
57+
},
58+
{
59+
"source_path": "docs/atl/can-i-reuse-a-host-window-q.md",
60+
"redirect_url": "/cpp/atl/atl-control-containment-faq",
61+
"redirect_document_id": false
62+
},
63+
{
64+
"source_path": "docs/atl/when-do-i-need-to-call-atlaxwinterm-q.md",
65+
"redirect_url": "/cpp/atl/atl-control-containment-faq",
66+
"redirect_document_id": false
67+
},
68+
{
69+
"source_path": "docs/atl/hosting-activex-controls-using-atl-axhost.md",
70+
"redirect_url": "/cpp/atl/atl-control-containment-faq",
71+
"redirect_document_id": false
72+
},
2873
{
2974
"source_path": "docs/atl/reference/index.md",
3075
"redirect_url": "/cpp/atl/reference/atl-classes",
@@ -50,6 +95,11 @@
5095
"redirect_url": "/cpp/atl-mfc-shared/atl-mfc-shared-classes",
5196
"redirect_document_id": false
5297
},
98+
{
99+
"source_path": "docs/atl-mfc-shared/date-and-time-general-purpose-classes.md",
100+
"redirect_url": "/cpp/atl-mfc-shared/date-and-time",
101+
"redirect_document_id": false
102+
},
53103
{
54104
"source_path": "docs/atl-mfc-shared/reference/index.md",
55105
"redirect_url": "/cpp/atl-mfc-shared/reference/classes-shared-by-mfc-and-atl",

docs/atl-mfc-shared/TOC.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# [ATL-MFC Shared Classes](atl-mfc-shared-classes.md)
22
# [ATL-MFC Concepts](atl-mfc-concepts.md)
33
## [Date and Time](date-and-time.md)
4-
### [Date and Time: General-Purpose Classes](date-and-time-general-purpose-classes.md)
5-
#### [Current Time: General Purpose Classes](current-time-general-purpose-classes.md)
6-
#### [Elapsed Time: General-Purpose Classes](elapsed-time-general-purpose-classes.md)
7-
#### [Formatting Time Values: General-Purpose Classes](formatting-time-values-general-purpose-classes.md)
4+
### [Current Time: General Purpose Classes](current-time-general-purpose-classes.md)
5+
### [Elapsed Time: General-Purpose Classes](elapsed-time-general-purpose-classes.md)
6+
### [Formatting Time Values: General-Purpose Classes](formatting-time-values-general-purpose-classes.md)
87
### [Date and Time: SYSTEMTIME Support](date-and-time-systemtime-support.md)
98
### [Date and Time: Automation Support](date-and-time-automation-support.md)
109
#### [Current Time: Automation Classes](current-time-automation-classes.md)

docs/atl-mfc-shared/current-time-general-purpose-classes.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ The following procedure shows how to create a `CTime` object and initialize it w
3333

3434
[!code-cpp[NVC_ATLMFC_Utilities#173](../atl-mfc-shared/codesnippet/cpp/current-time-general-purpose-classes_3.cpp)]
3535

36-
## See Also
37-
[Date and Time: General-Purpose Classes](../atl-mfc-shared/date-and-time-general-purpose-classes.md)
36+
3837

3938

4039

docs/atl-mfc-shared/date-and-time-general-purpose-classes.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/atl-mfc-shared/date-and-time-systemtime-support.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ The [CTime](../atl-mfc-shared/reference/ctime-class.md) class has constructors t
3737

3838
- [Automation support of date and time programming](../atl-mfc-shared/date-and-time-automation-support.md)
3939

40-
- [General-purpose classes for date and time programming](../atl-mfc-shared/date-and-time-general-purpose-classes.md)
41-
4240
## See Also
4341
[Date and Time](../atl-mfc-shared/date-and-time.md)
4442

docs/atl-mfc-shared/date-and-time.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ MFC supports several different ways of working with dates and times. These inclu
2222

2323
## What do you want to know more about
2424

25-
- [Date and Time: General-Purpose Classes](../atl-mfc-shared/date-and-time-general-purpose-classes.md)
26-
2725
- [Date and Time: SYSTEMTIME Support](../atl-mfc-shared/date-and-time-systemtime-support.md)
2826

2927
- [Date and Time: Automation Support](../atl-mfc-shared/date-and-time-automation-support.md)

docs/atl-mfc-shared/elapsed-time-general-purpose-classes.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,9 @@ ms.author: "mblome"
1212
ms.workload: ["cplusplus"]
1313
---
1414
# Elapsed Time: General-Purpose Classes
15-
The following procedure shows how to calculate the difference between two `CTime` objects and get a `CTimeSpan` result.
16-
17-
#### To calculate elapsed time
18-
19-
1. Use the `CTime` and `CTimeSpan` objects to calculate the elapsed time, as follows:
15+
The following procedure shows how to calculate the difference between two `CTime` objects and get a `CTimeSpan` result. Use the `CTime` and `CTimeSpan` objects to calculate the elapsed time, as follows:
2016

2117
[!code-cpp[NVC_ATLMFC_Utilities#174](../atl-mfc-shared/codesnippet/cpp/elapsed-time-general-purpose-classes_1.cpp)]
2218

23-
Once you have calculated `elapsedTime`, you can use the member functions of `CTimeSpan` to extract the components of the elapsed-time value.
24-
25-
## See Also
26-
[Date and Time: General-Purpose Classes](../atl-mfc-shared/date-and-time-general-purpose-classes.md)
19+
Once you have calculated `elapsedTime`, you can use the member functions of `CTimeSpan` to extract the components of the elapsed-time value.
2720

docs/atl-mfc-shared/formatting-time-automation-classes.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,20 @@ ms.author: "mblome"
1212
ms.workload: ["cplusplus"]
1313
---
1414
# Formatting Time: Automation Classes
15-
#### To format a time
15+
16+
## To format a time
1617

1718
Use the `Format` member function of either [COleDateTime](../atl-mfc-shared/reference/coledatetime-class.md) or [COleDateTimeSpan](../atl-mfc-shared/reference/coledatetimespan-class.md) to create a character string representing the time or elapsed time.
1819

1920
[!code-cpp[NVC_ATLMFC_Utilities#179](../atl-mfc-shared/codesnippet/cpp/formatting-time-automation-classes_1.cpp)]
2021

2122
For more information, see class [COleVariant](../mfc/reference/colevariant-class.md).
2223

23-
### What do you want to know more about
24-
25-
- [General date and time programming in MFC](../atl-mfc-shared/date-and-time.md)
24+
## What do you want to know more about?
2625

27-
- [General-purpose classes for date and time programming](../atl-mfc-shared/date-and-time-general-purpose-classes.md)
26+
- [General date and time programming in MFC](../atl-mfc-shared/date-and-time.md)
2827

29-
- [Working with SYSTEMTIME](../atl-mfc-shared/date-and-time-systemtime-support.md)
28+
- [Working with SYSTEMTIME](../atl-mfc-shared/date-and-time-systemtime-support.md)
3029

3130
## See Also
3231
[Date and Time: Automation Support](../atl-mfc-shared/date-and-time-automation-support.md)

0 commit comments

Comments
 (0)