Skip to content

Commit 75be4b8

Browse files
author
mtx48109
committed
final indent resolution
1 parent 5b1df7a commit 75be4b8

6 files changed

Lines changed: 44 additions & 44 deletions

File tree

‎docs/atl/reference/appearance-atl-control-wizard.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Insert "Search Results" summary here.
1818
Use this page of the wizard to identify additional user element options for the control. This page is available for controls identified as **Standard controls** under **Control type** on the [Options, ATL Control Wizard](../../atl/reference/options-atl-control-wizard.md) page.
1919

2020
## UIElement List
21-
**View status**
22-
Sets the appearance of the control within the container.
21+
**View status**
22+
Sets the appearance of the control within the container.
2323

2424
- **Opaque**: Sets the VIEWSTATUS_OPAQUE bit in the [VIEWSTATUS](http://msdn.microsoft.com/library/windows/desktop/ms687201) enumeration and draws the entire control rectangle passed to the [CComControlBase::OnDraw](../../atl/reference/ccomcontrolbase-class.md#ondraw) method. The control appears completely opaque, and none of the container shows behind the control boundaries.
2525

@@ -31,8 +31,8 @@ Insert "Search Results" summary here.
3131

3232
This option is available only if the **Opaque** option is also selected.
3333

34-
**Add control based on**
35-
Sets the control to be based on a Windows control type by adding a [CContainedWindow](ccontainedwindowt-class.md) data member to the class implementing the control. It also adds a message map and message handler functions to handle Windows messages for the control. Choose from the list the type of Windows control you want to create, if any.
34+
**Add control based on**
35+
Sets the control to be based on a Windows control type by adding a [CContainedWindow](ccontainedwindowt-class.md) data member to the class implementing the control. It also adds a message map and message handler functions to handle Windows messages for the control. Choose from the list the type of Windows control you want to create, if any.
3636

3737
- `Button`
3838

@@ -66,17 +66,17 @@ Insert "Search Results" summary here.
6666

6767
- `SysTreeView32`
6868

69-
**Misc status**
70-
Sets additional appearance and behavior options for the control.
69+
**Misc status**
70+
Sets additional appearance and behavior options for the control.
7171

7272
- **Invisible at run-time**: Sets the control to be invisible at run time. You can use invisible controls to perform operations in the background, such as firing events at timed intervals.
7373

7474
- **Acts like button**: Sets the OLEMISC_ACTSLIKEBUTTON bit in the [OLEMISC](http://msdn.microsoft.com/library/windows/desktop/ms678497) enumeration to enable a control to act like a button. If the container has marked the control's client site as a default button, selecting this option enables your button control to display itself as a default button by drawing itself with a thicker frame. See [CComControlBase::GetAmbientDisplayAsDefault](../../atl/reference/ccomcontrolbase-class.md#getambientdisplayasdefault) for more information.
7575

7676
- **Acts like label**: Sets the OLEMISC_ACTSLIKELABEL bit in the OLEMISC enumeration to enable a control to replace the container's native label. The container determines what to do with this flag, if anything.
7777

78-
**Other**
79-
Sets additional behavior options for the control.
78+
**Other**
79+
Sets additional behavior options for the control.
8080

8181
- **Normalized DC**: Sets the control to create a normalized device context when it is called to draw itself. This action standardizes the control's appearance, but it makes drawing less efficient.
8282

‎docs/atl/reference/atl-ole-db-consumer-wizard.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ This wizard sets up an OLE DB consumer class with the data bindings necessary to
1919
> This wizard requires you to click the **Data Source** button to select a data source before entering names in the `Class` and **.h file** fields.
2020
2121
## UIElement List
22-
**Data Source**
23-
The **Data Source** button lets you set up the specified data source using the specified OLE DB provider. When you click this button, the **Data Link Properties** dialog box appears. For more information on building connection strings and the **Data Link Properties** dialog box, see [Data Link API Overview](https://msdn.microsoft.com/library/ms718102.aspx) in the Windows SDK documentation.
22+
**Data Source**
23+
The **Data Source** button lets you set up the specified data source using the specified OLE DB provider. When you click this button, the **Data Link Properties** dialog box appears. For more information on building connection strings and the **Data Link Properties** dialog box, see [Data Link API Overview](https://msdn.microsoft.com/library/ms718102.aspx) in the Windows SDK documentation.
2424

2525
> [!NOTE]
2626
> In previous releases, Shift-clicking the **Data Source** button opened a File Open dialog to allow you to select a Data Link (.udl) file. This functionality is no longer supported.
2727
28-
The dialog box has four tabs:
28+
The dialog box has four tabs:
2929

3030
- **Provider** tab
3131

@@ -37,7 +37,7 @@ This wizard sets up an OLE DB consumer class with the data bindings necessary to
3737

3838
The following additional information describes the tabs in the **Data Link Properties** dialog box.
3939

40-
Click **OK** to finish. The **Select Database Object** dialog box appears. From this dialog box, select the table, view, or stored procedure that the consumer will use.
40+
Click **OK** to finish. The **Select Database Object** dialog box appears. From this dialog box, select the table, view, or stored procedure that the consumer will use.
4141

4242
**Provider**
4343
Select an appropriate provider to manage the connection to the data source. The type of provider is typically determined by the type of database to which you are connecting. Click the **Next** button or click the **Connection** tab.
@@ -83,14 +83,14 @@ The following additional information describes the tabs in the **Data Link Prope
8383

8484
4. Click **Test Connection**; if the test succeeds, click **OK**. If not, check your logon information, try another database, or try another data server.
8585

86-
**Advanced**
86+
**Advanced**
8787
**Network settings:** Specify the **Impersonation level** (the level of impersonation that the server is allowed to use when impersonating the client; corresponds directly to RPC impersonation levels) and **Protection level** (the level of protection of data sent between client and server; corresponds directly to RPC protection levels).
8888

8989
**Other:** In **Connect timeout**, specify the number of seconds of idle time allowed before a timeout occurs. In **Access permissions**, specify the access permissions on the data connection.
9090

9191
For more information about advanced initialization properties, refer to the documentation provided with each specific OLE DB provider.
9292

93-
**All**
93+
**All**
9494
This tab displays a summary of the initialization properties for the data source and connection you have specified. You can edit these values.
9595

9696
Click **OK** to finish. The **Select Database Object** dialog box appears. From this dialog box, select the table, view, or stored procedure that the consumer will use.

‎docs/cpp/cpp-constant-expressions.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.workload: ["cplusplus"]
1414
# C++ Constant Expressions
1515
A *constant* value is one that doesn't change. C++ provides two keywords to enable you to express the intent that an object is not intended to be modified, and to enforce that intent.
1616

17-
C++ requires constant expressions — expressions that evaluate to a constant — for declarations of:
17+
C++ requires constant expressions — expressions that evaluate to a constant — for declarations of:
1818

1919
- Array bounds
2020

@@ -24,7 +24,7 @@ A *constant* value is one that doesn't change. C++ provides two keywords to enab
2424

2525
- Enumeration initializers
2626

27-
The only operands that are legal in constant expressions are:
27+
The only operands that are legal in constant expressions are:
2828

2929
- Literals
3030

@@ -34,16 +34,16 @@ A *constant* value is one that doesn't change. C++ provides two keywords to enab
3434

3535
- **sizeof** expressions
3636

37-
Nonintegral constants must be converted (either explicitly or implicitly) to integral types to be legal in a constant expression. Therefore, the following code is legal:
37+
Nonintegral constants must be converted (either explicitly or implicitly) to integral types to be legal in a constant expression. Therefore, the following code is legal:
3838

3939
```cpp
4040
const double Size = 11.0;
4141
char chArray[(int)Size];
4242
```
4343

44-
Explicit conversions to integral types are legal in constant expressions; all other types and derived types are illegal except when used as operands to the `sizeof` operator.
44+
Explicit conversions to integral types are legal in constant expressions; all other types and derived types are illegal except when used as operands to the `sizeof` operator.
4545

46-
The comma operator and assignment operators cannot be used in constant expressions.
46+
The comma operator and assignment operators cannot be used in constant expressions.
4747

4848
## See Also
4949
[Types of Expressions](../cpp/types-of-expressions.md)

‎docs/mfc/reference/colecurrency-class.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -224,25 +224,25 @@ enum CurrencyStatus{
224224
```
225225

226226
### Remarks
227-
For a brief description of these status values, see the following list:
227+
For a brief description of these status values, see the following list:
228228

229229
- `COleCurrency::valid` Indicates that this `COleCurrency` object is valid.
230230

231231
- `COleCurrency::invalid` Indicates that this `COleCurrency` object is invalid; that is, its value may be incorrect.
232232

233233
- `COleCurrency::null` Indicates that this `COleCurrency` object is null, that is, that no value has been supplied for this object. (This is "null" in the database sense of "having no value," as opposed to the C++ NULL.)
234234

235-
The status of a `COleCurrency` object is invalid in the following cases:
235+
The status of a `COleCurrency` object is invalid in the following cases:
236236

237-
- If its value is set from a VARIANT or `COleVariant` value that could not be converted to a currency value.
237+
- If its value is set from a VARIANT or `COleVariant` value that could not be converted to a currency value.
238238

239-
- If this object has experienced an overflow or underflow during an arithmetic assignment operation, for example `+=` or **\*=**.
239+
- If this object has experienced an overflow or underflow during an arithmetic assignment operation, for example `+=` or **\*=**.
240240

241-
- If an invalid value was assigned to this object.
241+
- If an invalid value was assigned to this object.
242242

243-
- If the status of this object was explicitly set to invalid using [SetStatus](#setstatus).
243+
- If the status of this object was explicitly set to invalid using [SetStatus](#setstatus).
244244

245-
For more information on operations that may set the status to invalid, see the following member functions:
245+
For more information on operations that may set the status to invalid, see the following member functions:
246246

247247
- [COleCurrency](#colecurrency)
248248

@@ -256,8 +256,8 @@ enum CurrencyStatus{
256256

257257
- [operator *=, /=](#operator_star_div_eq)
258258

259-
> [!CAUTION]
260-
> This data member is for advanced programming situations. You should use the inline member functions [GetStatus](#getstatus) and [SetStatus](#setstatus). See `SetStatus` for further cautions regarding explicitly setting this data member.
259+
> [!CAUTION]
260+
> This data member is for advanced programming situations. You should use the inline member functions [GetStatus](#getstatus) and [SetStatus](#setstatus). See `SetStatus` for further cautions regarding explicitly setting this data member.
261261
262262
## <a name="operator_eq"></a> COleCurrency::operator =
263263
These overloaded assignment operators copy the source currency value into this `COleCurrency` object.

‎docs/mfc/reference/coledatasource-class.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -222,22 +222,22 @@ DROPEFFECT DoDragDrop(
222222
```
223223

224224
### Parameters
225-
*dwEffects*
226-
Drag-and-drop operations that are allowed on this data source. Can be one or more of the following:
225+
*dwEffects*
226+
Drag-and-drop operations that are allowed on this data source. Can be one or more of the following:
227227

228-
- DROPEFFECT_COPY A copy operation could be performed.
228+
- DROPEFFECT_COPY A copy operation could be performed.
229229

230-
- DROPEFFECT_MOVE A move operation could be performed.
230+
- DROPEFFECT_MOVE A move operation could be performed.
231231

232-
- DROPEFFECT_LINK A link from the dropped data to the original data could be established.
232+
- DROPEFFECT_LINK A link from the dropped data to the original data could be established.
233233

234-
- DROPEFFECT_SCROLL Indicates that a drag scroll operation could occur.
234+
- DROPEFFECT_SCROLL Indicates that a drag scroll operation could occur.
235235

236-
*lpRectStartDrag*
237-
Pointer to the rectangle that defines where the drag actually starts. For more information, see the following Remarks section.
236+
*lpRectStartDrag*
237+
Pointer to the rectangle that defines where the drag actually starts. For more information, see the following Remarks section.
238238

239-
*pDropSource*
240-
Points to a drop source. If NULL then a default implementation of [COleDropSource](../../mfc/reference/coledropsource-class.md) will be used.
239+
*pDropSource*
240+
Points to a drop source. If NULL then a default implementation of [COleDropSource](../../mfc/reference/coledropsource-class.md) will be used.
241241

242242
### Return Value
243243
Drop effect generated by the drag-and-drop operation; otherwise DROPEFFECT_NONE if the operation never begins because the user released the mouse button before leaving the supplied rectangle.

‎docs/mfc/reference/coledroptarget-class.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,20 +223,20 @@ virtual BOOL OnDrop(
223223
*pWnd*
224224
Points to the window the cursor is currently over.
225225

226-
*pDataObject*
226+
*pDataObject*
227227
Points to the data object that contains the data to be dropped.
228228

229-
*dropEffect*
230-
The effect that the user chose for the drop operation. It can be one or more of the following:
229+
*dropEffect*
230+
The effect that the user chose for the drop operation. It can be one or more of the following:
231231

232-
- DROPEFFECT_COPY A copy operation would be performed.
232+
- DROPEFFECT_COPY A copy operation would be performed.
233233

234234
- DROPEFFECT_MOVE A move operation would be performed.
235235

236236
- DROPEFFECT_LINK A link from the dropped data to the original data would be established.
237237

238-
*point*
239-
Contains the location of the cursor, in pixels, relative to the screen.
238+
*point*
239+
Contains the location of the cursor, in pixels, relative to the screen.
240240

241241
### Return Value
242242
Nonzero if the drop is successful; otherwise 0.

0 commit comments

Comments
 (0)