Skip to content

Commit 7bddf53

Browse files
authored
Merge pull request #1224 from msebolt/windows-formatting-review-pr39
windows formatting review pr39
2 parents 8ce8a14 + 09b8d0d commit 7bddf53

40 files changed

+43
-55
lines changed

docs/windows/specifying-the-location-and-size-of-a-dialog-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.workload: ["cplusplus", "uwp"]
1414
# Specifying the Location and Size of a Dialog Box
1515
The location and size of a dialog box, as well as the location and size of controls within it, are measured in dialog units. The values for individual controls and the dialog box appear in the lower right of the Visual Studio status bar when you select them.
1616

17-
There are three properties that you can set in the [Properties Window](/visualstudio/ide/reference/properties-window) to specify where a dialog box will appear onscreen. The Center property is Boolean; if you set the value to True, the dialog box will always appear in the center of the screen. If you set it to False, you can then set the XPos and YPos properties to explicitly define where onscreen the dialog box will appear. The position properties are offset values from the upper left-hand corner of the viewing area, which is defined as {X=0, Y=0}. The position is also based on the **Absolute Align** property: if True, the coordinates are relative to the screen; if False, the coordinates are relative to the dialog owner's window.
17+
There are three properties that you can set in the [Properties Window](/visualstudio/ide/reference/properties-window) to specify where a dialog box will appear onscreen. The **Center** property is Boolean; if you set the value to **True**, the dialog box will always appear in the center of the screen. If you set it to **False**, you can then set the **XPos** and **YPos** properties to explicitly define where onscreen the dialog box will appear. The position properties are offset values from the upper left-hand corner of the viewing area, which is defined as `{X=0, Y=0}`. The position is also based on the **Absolute Align** property: if **True**, the coordinates are relative to the screen; if **False**, the coordinates are relative to the dialog owner's window.
1818

1919
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).
2020

docs/windows/srwlock-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Represents a slim reader/writer lock.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
class SRWLock;
2222
```
2323

docs/windows/srwlock-lockexclusive-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Acquires an **SRWLock** object in exclusive mode.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
SyncLockExclusive LockExclusive();
2222

2323
static SyncLockExclusive LockExclusive(

docs/windows/srwlock-lockshared-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Acquires an **SRWLock** object in shared mode.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
SyncLockShared LockShared();
2222

2323
static SyncLockShared LockShared(

docs/windows/srwlock-srwlock-constructor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Initializes a new instance of the **SRWLock** class.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
SRWLock();
2222
```
2323

docs/windows/srwlock-srwlock-data-member.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Contains the underlying lock variable for the current **SRWLock** object.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
SRWLOCK SRWLock_;
2222
```
2323

docs/windows/srwlock-tilde-srwlock-destructor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Deinitializes an instance of the **SRWLock** class.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
~SRWLock();
2222
```
2323

docs/windows/srwlock-trylockexclusive-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Attempts to acquire a **SRWLock** object in exclusive mode for the current or sp
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
SyncLockExclusive TryLockExclusive();
2222

2323
static SyncLockExclusive TryLockExclusive(

docs/windows/srwlock-trylockshared-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Attempts to acquire a **SRWLock** object in shared mode for the current or speci
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
WRL_NOTHROW SyncLockShared TryLockShared();
2222
WRL_NOTHROW static SyncLockShared TryLockShared(
2323
_In_ SRWLOCK* lock

docs/windows/srwlockexclusivetraits-getinvalidvalue-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Retrieves an **SRWLockExclusiveTraits** object that is always invalid.
1717

1818
## Syntax
1919

20-
```
20+
```cpp
2121
inline static Type GetInvalidValue();
2222
```
2323

0 commit comments

Comments
 (0)