Skip to content

Commit a4a3341

Browse files
author
mtx48109
committed
windows formatting review pr16
1 parent 37503f8 commit a4a3341

30 files changed

Lines changed: 315 additions & 331 deletions

docs/windows/removereference-structure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ template<class T>
2626
struct RemoveReference<T&&>;
2727
```
2828

29-
#### Parameters
30-
`T`
29+
### Parameters
30+
*T*
3131
A class.
3232

3333
## Remarks

docs/windows/removing-space-between-buttons-on-a-toolbar.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ The following procedure shows you how to remove a space between buttons on a too
2020

2121
If there is no space on the side of the button that you are dragging away from, and you drag the button more than halfway past the adjacent button, the Toolbar editor also inserts a space on the opposite side of the button that you are dragging.
2222

23-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide.* For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
23+
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
2424

25-
Requirements
25+
## Requirements
2626

2727
MFC or ATL
2828

2929
## See Also
3030
[Creating, Moving, and Editing Toolbar Buttons](../windows/creating-moving-and-editing-toolbar-buttons.md)
31-
[Toolbar Editor](../windows/toolbar-editor.md)
32-
31+
[Toolbar Editor](../windows/toolbar-editor.md)

docs/windows/requestedit.md

Lines changed: 49 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,49 @@
1-
---
2-
title: "requestedit | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "11/04/2016"
5-
ms.technology: ["cpp-windows"]
6-
ms.topic: "reference"
7-
f1_keywords: ["vc-attr.requestedit"]
8-
dev_langs: ["C++"]
9-
helpviewer_keywords: ["requestedit attribute"]
10-
ms.assetid: b3c24790-3c4a-4646-8722-03d7b51172ee
11-
author: "mikeblome"
12-
ms.author: "mblome"
13-
ms.workload: ["cplusplus", "uwp"]
14-
---
15-
# requestedit
16-
Indicates that the property supports the **OnRequestEdit** notification.
17-
18-
## Syntax
19-
20-
```
21-
22-
[requestedit]
23-
24-
```
25-
26-
## Remarks
27-
The **requestedit** C++ attribute has the same functionality as the [requestedit](http://msdn.microsoft.com/library/windows/desktop/aa367155) MIDL attribute.
28-
29-
## Example
30-
See the example for [bindable](../windows/bindable.md) for a sample use of **requestedit**.
31-
32-
## Requirements
33-
34-
### Attribute Context
35-
36-
|||
37-
|-|-|
38-
|**Applies to**|Interface method|
39-
|**Repeatable**|No|
40-
|**Required attributes**|None|
41-
|**Invalid attributes**|None|
42-
43-
For more information about the attribute contexts, see [Attribute Contexts](../windows/attribute-contexts.md).
44-
45-
## See Also
46-
[IDL Attributes](../windows/idl-attributes.md)
47-
[Method Attributes](../windows/method-attributes.md)
48-
[Data Member Attributes](../windows/data-member-attributes.md)
49-
[defaultbind](../windows/defaultbind.md)
50-
[displaybind](../windows/displaybind.md)
51-
[immediatebind](../windows/immediatebind.md)
1+
---
2+
title: "requestedit | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "11/04/2016"
5+
ms.technology: ["cpp-windows"]
6+
ms.topic: "reference"
7+
f1_keywords: ["vc-attr.requestedit"]
8+
dev_langs: ["C++"]
9+
helpviewer_keywords: ["requestedit attribute"]
10+
ms.assetid: b3c24790-3c4a-4646-8722-03d7b51172ee
11+
author: "mikeblome"
12+
ms.author: "mblome"
13+
ms.workload: ["cplusplus", "uwp"]
14+
---
15+
# requestedit
16+
Indicates that the property supports the `OnRequestEdit` notification.
17+
18+
## Syntax
19+
20+
```
21+
[requestedit]
22+
```
23+
24+
## Remarks
25+
The **requestedit** C++ attribute has the same functionality as the [requestedit](http://msdn.microsoft.com/library/windows/desktop/aa367155) MIDL attribute.
26+
27+
## Example
28+
See the example for [bindable](../windows/bindable.md) for a sample use of **requestedit**.
29+
30+
## Requirements
31+
32+
### Attribute Context
33+
34+
|||
35+
|-|-|
36+
|**Applies to**|Interface method|
37+
|**Repeatable**|No|
38+
|**Required attributes**|None|
39+
|**Invalid attributes**|None|
40+
41+
For more information about the attribute contexts, see [Attribute Contexts](../windows/attribute-contexts.md).
42+
43+
## See Also
44+
[IDL Attributes](../windows/idl-attributes.md)
45+
[Method Attributes](../windows/method-attributes.md)
46+
[Data Member Attributes](../windows/data-member-attributes.md)
47+
[defaultbind](../windows/defaultbind.md)
48+
[displaybind](../windows/displaybind.md)
49+
[immediatebind](../windows/immediatebind.md)

docs/windows/requires-category.md

Lines changed: 67 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,67 @@
1-
---
2-
title: "requires_category | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "11/04/2016"
5-
ms.technology: ["cpp-windows"]
6-
ms.topic: "reference"
7-
f1_keywords: ["vc-attr.requires_category"]
8-
dev_langs: ["C++"]
9-
helpviewer_keywords: ["requires_category attribute"]
10-
ms.assetid: a645fdc6-1ef5-414d-8c56-5fe2686d4687
11-
author: "mikeblome"
12-
ms.author: "mblome"
13-
ms.workload: ["cplusplus", "uwp"]
14-
---
15-
# requires_category
16-
Specifies the required component categories of the target class.
17-
18-
## Syntax
19-
20-
```
21-
22-
[ requires_category(
23-
requires_category
24-
) ]
25-
```
26-
27-
#### Parameters
28-
*requires_category*
29-
The ID of the required category.
30-
31-
## Remarks
32-
The **requires_category** C++ attribute specifies the component categories required by the target class. For more information, see [REQUIRED_CATEGORY](../atl/reference/category-macros.md#required_category).
33-
34-
This attribute requires that the [coclass](../windows/coclass.md), [progid](../windows/progid.md), or [vi_progid](../windows/vi-progid.md) attribute (or another attribute that implies one of these) also be applied to the same element.
35-
36-
## Example
37-
The following code requires that the object implement the Control category.
38-
39-
```
40-
// cpp_attr_ref_requires_category.cpp
41-
// compile with: /LD
42-
#define _ATL_ATTRIBUTES
43-
#include "atlbase.h"
44-
#include "atlcom.h"
45-
46-
[module (name="MyLibrary")];
47-
48-
[ coclass, requires_category("CATID_Control"),
49-
uuid("1e1a2436-f3ea-4ff3-80bf-5409370e8144")]
50-
class CMyClass {};
51-
```
52-
53-
## Requirements
54-
55-
### Attribute Context
56-
57-
|||
58-
|-|-|
59-
|**Applies to**|**class**, `struct`|
60-
|**Repeatable**|No|
61-
|**Required attributes**|One or more of the following: **coclass**, **progid**, or **vi_progid**.|
62-
|**Invalid attributes**|None|
63-
64-
For more information about the attribute contexts, see [Attribute Contexts](../windows/attribute-contexts.md).
65-
66-
## See Also
67-
[COM Attributes](../windows/com-attributes.md)
68-
[implements_category](../windows/implements-category.md)
1+
---
2+
title: "requires_category | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "11/04/2016"
5+
ms.technology: ["cpp-windows"]
6+
ms.topic: "reference"
7+
f1_keywords: ["vc-attr.requires_category"]
8+
dev_langs: ["C++"]
9+
helpviewer_keywords: ["requires_category attribute"]
10+
ms.assetid: a645fdc6-1ef5-414d-8c56-5fe2686d4687
11+
author: "mikeblome"
12+
ms.author: "mblome"
13+
ms.workload: ["cplusplus", "uwp"]
14+
---
15+
# requires_category
16+
Specifies the required component categories of the target class.
17+
18+
## Syntax
19+
20+
```
21+
[ requires_category(
22+
requires_category
23+
) ]
24+
```
25+
26+
#### Parameters
27+
*requires_category*
28+
The ID of the required category.
29+
30+
## Remarks
31+
The **requires_category** C++ attribute specifies the component categories required by the target class. For more information, see [REQUIRED_CATEGORY](../atl/reference/category-macros.md#required_category).
32+
33+
This attribute requires that the [coclass](../windows/coclass.md), [progid](../windows/progid.md), or [vi_progid](../windows/vi-progid.md) attribute (or another attribute that implies one of these) also be applied to the same element.
34+
35+
## Example
36+
The following code requires that the object implement the Control category.
37+
38+
```cpp
39+
// cpp_attr_ref_requires_category.cpp
40+
// compile with: /LD
41+
#define _ATL_ATTRIBUTES
42+
#include "atlbase.h"
43+
#include "atlcom.h"
44+
45+
[module (name="MyLibrary")];
46+
47+
[ coclass, requires_category("CATID_Control"),
48+
uuid("1e1a2436-f3ea-4ff3-80bf-5409370e8144")]
49+
class CMyClass {};
50+
```
51+
52+
## Requirements
53+
54+
### Attribute Context
55+
56+
|||
57+
|-|-|
58+
|**Applies to**|**class**, **struct**|
59+
|**Repeatable**|No|
60+
|**Required attributes**|One or more of the following: `coclass`, `progid`, or `vi_progid`.|
61+
|**Invalid attributes**|None|
62+
63+
For more information about the attribute contexts, see [Attribute Contexts](../windows/attribute-contexts.md).
64+
65+
## See Also
66+
[COM Attributes](../windows/com-attributes.md)
67+
[implements_category](../windows/implements-category.md)

docs/windows/resizing-an-entire-image-image-editor-for-icons.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ ms.workload: ["cplusplus", "uwp"]
2525
> [!NOTE]
2626
> You can use the Width and Height properties to resize only the entire image, not to resize a partial selection.
2727
28-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide.* For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
28+
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
2929

30-
Requirements
30+
## Requirements
3131

3232
None
3333

3434
## See Also
3535
[Accelerator Keys](../windows/accelerator-keys-image-editor-for-icons.md)
36-
[Resizing an Image](../windows/resizing-an-image-image-editor-for-icons.md)
37-
36+
[Resizing an Image](../windows/resizing-an-image-image-editor-for-icons.md)

docs/windows/resizing-an-image-image-editor-for-icons.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@ Sizing Handles
3535

3636
- [Shrinking or Stretching Part of an Image](../windows/shrinking-or-stretching-part-of-an-image-image-editor-for-icons.md)
3737

38-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide.* For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
38+
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
3939

4040
## Requirements
4141
None
4242

4343
## See Also
4444
[Accelerator Keys](../windows/accelerator-keys-image-editor-for-icons.md)
4545
[Editing Graphical Resources](../windows/editing-graphical-resources-image-editor-for-icons.md)
46-
[Image Editor for Icons](../windows/image-editor-for-icons.md)
47-
46+
[Image Editor for Icons](../windows/image-editor-for-icons.md)

docs/windows/resource-editors.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A Resource editor is a specialized environment for creating or modifying resourc
1919

2020
**Note** Because managed projects do not use resource script files, you must open your resources from **Solution Explorer**. You can use the [Image editor](../windows/image-editor-for-icons.md) and the [Binary editor](binary-editor.md) to work with resource files in managed projects. Any managed resources you want to edit must be linked resources. The Visual Studio resource editors do not support editing embedded resources.
2121

22-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide.* For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
22+
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
2323

2424
|Use the...|To edit...|
2525
|----------------|----------------|
@@ -40,5 +40,4 @@ A Resource editor is a specialized environment for creating or modifying resourc
4040
[Working with Resource Files](../windows/working-with-resource-files.md)
4141
[Resource Files](../windows/resource-files-visual-studio.md)
4242
[Symbols: Resource Identifiers](../windows/symbols-resource-identifiers.md)
43-
[Menus and Other Resources](https://msdn.microsoft.com/library/windows/desktop/ms632583.aspx)
44-
43+
[Menus and Other Resources](https://msdn.microsoft.com/library/windows/desktop/ms632583.aspx)

docs/windows/resource-files-visual-studio.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ ms.workload: ["cplusplus", "uwp"]
1313
---
1414
# Resource Files (Visual Studio)
1515
> [!NOTE]
16-
> This material applies to Windows desktop applications. For information about resources in Universal Windows Platform apps, see [Defining App Resources](http://msdn.microsoft.com/en-us/476ea844-632c-4467-9ce3-966be1350dd4).
16+
> This material applies to Windows desktop applications. For information about resources in Universal Windows Platform apps, see [Defining App Resources](http://msdn.microsoft.com/476ea844-632c-4467-9ce3-966be1350dd4).
1717
>
18-
> For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide.* For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
18+
> For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
1919
>
2020
> Since projects in .NET programming languages do not use resource script files, you must open your resources from **Solution Explorer**. You can use the [Image editor](../windows/image-editor-for-icons.md) and the [Binary editor](binary-editor.md) to work with resource files in managed projects. Any managed resources you want to edit must be linked resources. The Visual Studio resource editors do not support editing embedded resources.
2121
@@ -71,5 +71,4 @@ ms.workload: ["cplusplus", "uwp"]
7171
## See Also
7272
[Resource Editors](../windows/resource-editors.md)
7373
[Working with Resource Files](../windows/working-with-resource-files.md)
74-
[Menus and Other Resources](http://msdn.microsoft.com/library/windows/desktop/ms632583.aspx)
75-
74+
[Menus and Other Resources](http://msdn.microsoft.com/library/windows/desktop/ms632583.aspx)

docs/windows/resource-view-window.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ ms.workload: ["cplusplus", "uwp"]
3030

3131
\- or -
3232

33-
2. Press **CTRL+SHIFT+E**.
33+
2. Press **Ctrl**+**Shift**+**E**.
3434

35-
36-
37-
### Requirements
35+
## Requirements
3836
Win32
3937

4038
## See Also

0 commit comments

Comments
 (0)