Skip to content

Commit ac17c9b

Browse files
authored
Merge pull request #1220 from msebolt/windows-formatting-review-pr36
windows formatting review pr36
2 parents 4ed2b31 + 63c0f93 commit ac17c9b

40 files changed

Lines changed: 48 additions & 70 deletions

docs/windows/mutextraits-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Defines common characteristics of the [Mutex](../windows/mutex-class1.md) class.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
struct MutexTraits : HANDLENullTraits;
2222
```
2323

docs/windows/mutextraits-unlock-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Releases exclusive control of a shared resource.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
inline static void Unlock(
2222
_In_ Type h
2323
);

docs/windows/new-custom-resource-dialog-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.workload: ["cplusplus", "uwp"]
1515
# New Custom Resource Dialog Box
1616
Enables you to create a new custom resource.
1717

18-
**Resource Type**
18+
### Resource Type
1919
Provides a text box for you to enter the name of a custom resource type. Visual C++ automatically capitalizes the name when you exit the **New Custom Resource** dialog box.
2020

2121
## Remarks

docs/windows/new-device-image-type-dialog-box-image-editor-for-icons.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.workload: ["cplusplus", "uwp"]
1515
# New <Device> Image Type Dialog Box (Image Editor for Icons)
1616
Enables you to create a new device image of a specified type. To open the **New \<Device> Image** dialog box, click **New Image Type** on the **Image** menu.
1717

18-
**Target Image Type**
18+
### Target Image Type
1919
Lists the available image types. Select the image type you want to open:
2020

2121
||||
@@ -30,7 +30,7 @@ Enables you to create a new device image of a specified type. To open the **New
3030
> [!NOTE]
3131
> Any existing images will not be displayed in this list.
3232
33-
**Custom**
33+
### Custom
3434
Opens the [Custom Image dialog box](custom-image-dialog-box-image-editor-for-icons.md) in which you can create a new image with a custom size and number of colors.
3535

3636
## Requirements
@@ -39,4 +39,4 @@ Enables you to create a new device image of a specified type. To open the **New
3939
## See Also
4040
[Icons and Cursors: Image Resources for Display Devices](../windows/icons-and-cursors-image-resources-for-display-devices-image-editor-for-icons.md)
4141
[Image Menu](../windows/image-menu-image-editor-for-icons.md)
42-
[Image Editor for Icons](../windows/image-editor-for-icons.md)
42+
[Image Editor for Icons](../windows/image-editor-for-icons.md)

docs/windows/new-new-slot-in-vtable-cpp-component-extensions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ int main() {
8585
}
8686
```
8787
88-
**Output**
89-
9088
```Output
9189
C::f() called
9290

docs/windows/new-toolbar-resource-dialog-box.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ ms.author: "mblome"
1313
ms.workload: ["cplusplus", "uwp"]
1414
---
1515
# New Toolbar Resource Dialog Box
16-
The New Toolbar Resource dialog box allows you to specify the width and height of the buttons you are adding to a toolbar resource. The default is 16 × 15 pixels.
16+
The **New Toolbar Resource** dialog box allows you to specify the width and height of the buttons you are adding to a toolbar resource. The default is 16 × 15 pixels.
1717

1818
A bitmap that is used to create a toolbar has a maximum width of 2048. So if you set the **Button Width** to 512, you can only have four buttons. If you set the width to 513, you can only have three buttons.
1919

20-
**Button Width**
20+
### Button Width
2121
Provides a space for you to enter the width for the toolbar buttons you are converting from a bitmap resource to a toolbar resource. The images are cropped to the width and height specified, and the colors are adjusted to use standard toolbar colors (16 colors).
2222

23-
**Button Height**
23+
### Button Height
2424
Provides a space for you to enter the height for the toolbar buttons you are converting from a bitmap resource to a toolbar resource. The images are cropped to the width and height specified, and the colors are adjusted to use standard toolbar colors (16 colors).
2525

2626
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).

docs/windows/nil-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Supports the WRL infrastructure and is not intended to be used directly from you
1616

1717
## Syntax
1818

19-
```
19+
```cpp
2020
struct Nil;
2121
```
2222

docs/windows/no-injected-text.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Prevents the compiler from injecting code as a result of attribute use.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
[ no_injected_text(
2222
boolean
2323
) ];
2424
```
2525

26-
#### Parameters
26+
### Parameters
2727
*boolean* (optional)
2828
**true** if you want no code injected, **false** to allow code to be injected. **true** is the default.
2929

docs/windows/nonbrowsable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Indicates that an interface member should not be displayed in a property browser
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
[nonbrowsable]
2222
```
2323

docs/windows/noncreatable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Defines an object that cannot be instantiated by itself.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
[noncreatable]
2222
```
2323

0 commit comments

Comments
 (0)