Skip to content

Commit dd3e551

Browse files
authored
Merge pull request #4698 from MicrosoftDocs/main
12/01 AM Publish
2 parents 2ceb8ca + 1d8237b commit dd3e551

Some content is hidden

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

45 files changed

+87
-87
lines changed

docs/atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ In general, the rules for allocating and releasing memory allocated for `BSTR`s
1515
- When you call into a function that expects a `BSTR` argument, you must allocate the memory for the `BSTR` before the call and release it afterwards. For example:
1616

1717
[!code-cpp[NVC_ATLMFC_Utilities#192](../atl-mfc-shared/codesnippet/cpp/allocating-and-releasing-memory-for-a-bstr_1.cpp)]
18-
18+
 
1919
[!code-cpp[NVC_ATLMFC_Utilities#193](../atl-mfc-shared/codesnippet/cpp/allocating-and-releasing-memory-for-a-bstr_2.cpp)]
2020

2121
- When you call into a function that returns a `BSTR`, you must free the string yourself. For example:
2222

2323
[!code-cpp[NVC_ATLMFC_Utilities#194](../atl-mfc-shared/codesnippet/cpp/allocating-and-releasing-memory-for-a-bstr_3.cpp)]
24-
24+
 
2525
[!code-cpp[NVC_ATLMFC_Utilities#195](../atl-mfc-shared/codesnippet/cpp/allocating-and-releasing-memory-for-a-bstr_4.cpp)]
2626

2727
- When you implement a function that returns a `BSTR`, allocate the string but do not free it. The receiving function releases the memory. For example:

docs/atl-mfc-shared/cstring-argument-passing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If the string contents are to be changed by a function, declare the parameter as
2525
Typically you can return `CString` objects from functions because `CString` objects follow value semantics like primitive types. To return a read-only string, use a constant `CString` reference (`const CString&`). The following example illustrates the use of `CString` parameters and return types:
2626

2727
[!code-cpp[NVC_ATLMFC_Utilities#197](../atl-mfc-shared/codesnippet/cpp/cstring-argument-passing_1.cpp)]
28-
28+
 
2929
[!code-cpp[NVC_ATLMFC_Utilities#198](../atl-mfc-shared/codesnippet/cpp/cstring-argument-passing_2.cpp)]
3030

3131
## See also

docs/atl-mfc-shared/reference/coledatetimespan-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ These operators compare two date/time-span values and return TRUE if the conditi
102102
### Example
103103

104104
[!code-cpp[NVC_ATLMFC_Utilities#25](../../atl-mfc-shared/codesnippet/cpp/coledatetimespan-class_1.cpp)]
105-
105+
 
106106
[!code-cpp[NVC_ATLMFC_Utilities#26](../../atl-mfc-shared/codesnippet/cpp/coledatetimespan-class_2.cpp)]
107107

108108
## <a name="coledatetimespan"></a> COleDateTimeSpan::COleDateTimeSpan

docs/atl-mfc-shared/reference/cstringt-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ Writes a formatted string and a variable list of arguments to a **`CStringT`** s
725725
### Example
726726

727727
[!code-cpp[NVC_ATLMFC_Utilities#119](../../atl-mfc-shared/codesnippet/cpp/cstringt-class_14.cpp)]
728-
728+
&nbsp;
729729
[!code-cpp[NVC_ATLMFC_Utilities#120](../../atl-mfc-shared/codesnippet/cpp/cstringt-class_15.cpp)]
730730

731731
## <a name="getenvironmentvariable"></a> `CStringT::GetEnvironmentVariable`

docs/atl/reference/ccomcontrolbase-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ One of the standard HRESULT values.
252252
### Example
253253

254254
[!code-cpp[NVC_ATL_COM#19](../../atl/codesnippet/cpp/ccomcontrolbase-class_2.cpp)]
255-
255+
&nbsp;
256256
[!code-cpp[NVC_ATL_COM#20](../../atl/codesnippet/cpp/ccomcontrolbase-class_3.h)]
257257

258258
## <a name="fireviewchange"></a> CComControlBase::FireViewChange

docs/atl/reference/ccomobject-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If you do not need direct access to the object, but still want to create a new o
125125
### Example
126126

127127
[!code-cpp[NVC_ATL_COM#38](../../atl/codesnippet/cpp/ccomobject-class_1.h)]
128-
128+
&nbsp;
129129
[!code-cpp[NVC_ATL_COM#39](../../atl/codesnippet/cpp/ccomobject-class_2.cpp)]
130130

131131
## <a name="queryinterface"></a> CComObject::QueryInterface

docs/atl/reference/ccomptr-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ATL uses `CComPtr` and [`CComQIPtr`](../../atl/reference/ccomqiptr-class.md) to
4343
The `CComPtr` and [`CComQIPtr`](../../atl/reference/ccomqiptr-class.md) classes can help eliminate memory leaks by performing automatic reference counting. The following functions both do the same logical operations. However, the second version may be less error-prone because it uses the `CComPtr` class:
4444
4545
[!code-cpp[NVC_ATL_Utilities#130](../../atl/codesnippet/cpp/ccomptr-class_1.cpp)]
46-
46+
&nbsp;
4747
[!code-cpp[NVC_ATL_Utilities#131](../../atl/codesnippet/cpp/ccomptr-class_2.cpp)]
4848
4949
In Debug builds, link atlsd.lib for code tracing.

docs/atl/reference/ccontainedwindowt-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ A traits class that defines styles for your window. The default is `CControlWinT
7575
When you use the **Add control based on** option in the ATL Project Wizard, the wizard will automatically add a `CContainedWindowT` data member to the class implementing the control. The following example shows how the contained window is declared:
7676

7777
[!code-cpp[NVC_ATL_Windowing#38](../../atl/codesnippet/cpp/ccontainedwindowt-class_1.h)]
78-
78+
&nbsp;
7979
[!code-cpp[NVC_ATL_Windowing#39](../../atl/codesnippet/cpp/ccontainedwindowt-class_2.h)]
80-
80+
&nbsp;
8181
[!code-cpp[NVC_ATL_Windowing#40](../../atl/codesnippet/cpp/ccontainedwindowt-class_3.h)]
8282

8383
|For more information about|See|

docs/atl/reference/property-map-macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ When you create an ActiveX control, the wizard inserts this macro after the prop
7878
In the following example, the extent of the object (`m_sizeExtent`) is being persisted.
7979

8080
[!code-cpp[NVC_ATL_Windowing#131](../../atl/codesnippet/cpp/property-map-macros_2.h)]
81-
81+
&nbsp;
8282
[!code-cpp[NVC_ATL_Windowing#132](../../atl/codesnippet/cpp/property-map-macros_3.h)]
8383

8484
## <a name="prop_entry_type"></a> PROP_ENTRY_TYPE

docs/cppcx/delegates-c-cx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ It then calls the member function and passes the delegate. Assume that `ci` is a
8181
In the next example, a client app passes a custom delegate to a public method in a Windows Runtime component that executes the delegate against each item in a `Vector`:
8282

8383
[!code-cpp[Cx_delegates#118](../cppcx/codesnippet/CPP/clientapp/mainpage.xaml.cpp#118)]
84-
84+
&nbsp;
8585
[!code-cpp[Cx_delegates#119](../cppcx/codesnippet/CPP/delegatesevents/class1.cpp#119)]
8686

8787
### Construction

docs/cppcx/partial-classes-c-cx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ At the point of the full definition of the class X, the behavior is the same as
6969
The following two code examples have identical meaning and effect. The first example uses a partial class and the second example doesn't.
7070

7171
[!code-cpp[cx_partial#05](../cppcx/codesnippet/CPP/partialclassexample/class1.h#05)]
72-
72+
&nbsp;
7373
[!code-cpp[cx_partial#06](../cppcx/codesnippet/CPP/partialclassexample/class1.h#06)]
7474

7575
## Templates
@@ -87,7 +87,7 @@ The **`partial`** keyword is supported only in combination with the **`ref class
8787
The following example defines the `Address` class across two code files. The designer modifies `Address.details.h` and you modify `Address.h`. Only the class definition in the first file uses the **`partial`** keyword.
8888

8989
[!code-cpp[cx_partial#07](../cppcx/codesnippet/CPP/partialclassexample/address.details.h#07)]
90-
90+
&nbsp;
9191
[!code-cpp[cx_partial#09](../cppcx/codesnippet/CPP/partialclassexample/address.h#09)]
9292

9393
## See also

docs/data/oledb/cdataconnection-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ This operator returns a reference to the contained `CDataSource` object, allowin
179179
If you have a function (such as `func` below) that takes a `CDataSource` reference, you can use `CDataSource&` to pass a `CDataConnection` object instead.
180180

181181
[!code-cpp[NVC_OLEDB_Consumer#3](../../data/oledb/codesnippet/cpp/cdataconnection-operator-cdatasource-amp_1.cpp)]
182-
182+
&nbsp;
183183
[!code-cpp[NVC_OLEDB_Consumer#4](../../data/oledb/codesnippet/cpp/cdataconnection-operator-cdatasource-amp_2.cpp)]
184184

185185
## <a name="op_cdata_star"></a> `CDataConnection::operator CDataSource*`
@@ -217,7 +217,7 @@ This operator returns a reference to the contained `CSession` object, allowing y
217217
If you have a function (such as `func` below) that takes a `CSession` reference, you can use `CSession&` to pass a `CDataConnection` object instead.
218218

219219
[!code-cpp[NVC_OLEDB_Consumer#5](../../data/oledb/codesnippet/cpp/cdataconnection-operator-csession-amp_1.cpp)]
220-
220+
&nbsp;
221221
[!code-cpp[NVC_OLEDB_Consumer#6](../../data/oledb/codesnippet/cpp/cdataconnection-operator-csession-amp_2.cpp)]
222222

223223
## <a name="op_csession_star"></a> `CDataConnection::operator CSession*`

docs/mfc/accessing-run-time-class-information.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ You will rarely need to access the run-time class object directly. A more common
3333
1. Call the `IsKindOf` member function for objects of that class, using the `RUNTIME_CLASS` macro to generate the `CRuntimeClass` argument, as shown here:
3434

3535
[!code-cpp[NVC_MFCCObjectSample#2](codesnippet/cpp/accessing-run-time-class-information_2.h)]
36-
36+
&nbsp;
3737
[!code-cpp[NVC_MFCCObjectSample#5](codesnippet/cpp/accessing-run-time-class-information_3.cpp)]
3838

3939
> [!NOTE]

docs/mfc/reference/application-control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Call this function to access the current `COleMessageFilter`-derived object, jus
6767
### Example
6868

6969
[!code-cpp[NVC_MFCAutomation#3](../../mfc/codesnippet/cpp/application-control_2.cpp)]
70-
70+
&nbsp;
7171
[!code-cpp[NVC_MFCAutomation#4](../../mfc/codesnippet/cpp/application-control_3.cpp)]
7272

7373
### Requirements

docs/mfc/reference/carchive-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,11 +310,11 @@ You can call `MapObject` when you store to and load from the `CArchive` object.
310310
### Example
311311
312312
[!code-cpp[NVC_MFCSerialization#18](../../mfc/codesnippet/cpp/carchive-class_7.h)]
313-
313+
&nbsp;
314314
[!code-cpp[NVC_MFCSerialization#19](../../mfc/codesnippet/cpp/carchive-class_8.cpp)]
315-
315+
&nbsp;
316316
[!code-cpp[NVC_MFCSerialization#20](../../mfc/codesnippet/cpp/carchive-class_9.h)]
317-
317+
&nbsp;
318318
[!code-cpp[NVC_MFCSerialization#21](../../mfc/codesnippet/cpp/carchive-class_10.cpp)]
319319
320320
## <a name="m_pdocument"></a> `CArchive::m_pDocument`

docs/mfc/reference/ccmdtarget-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ If you override `OnCmdMsg`, you must supply the appropriate value for *`nCode`*,
447447
### Example
448448

449449
[!code-cpp[NVC_MFCDocView#44](../../mfc/codesnippet/cpp/ccmdtarget-class_2.cpp)]
450-
450+
&nbsp;
451451
[!code-cpp[NVC_MFCDocView#45](../../mfc/codesnippet/cpp/ccmdtarget-class_3.cpp)]
452452

453453
## <a name="onfinalrelease"></a> `CCmdTarget::OnFinalRelease`

docs/mfc/reference/ccmdui-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ TRUE to enable the item, FALSE to disable it.
9696
### Example
9797

9898
[!code-cpp[NVC_MFCDocView#46](../../mfc/codesnippet/cpp/ccmdui-class_1.cpp)]
99-
99+
&nbsp;
100100
[!code-cpp[NVC_MFCDocView#47](../../mfc/codesnippet/cpp/ccmdui-class_2.cpp)]
101101

102102
## <a name="m_nid"></a> CCmdUI::m_nID

docs/mfc/reference/cdatabase-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ You may find it convenient to embed the `CDatabase` object in your document clas
193193
This example illustrates using `CDatabase` in a `CDocument`-derived class.
194194

195195
[!code-cpp[NVC_MFCDatabase#9](../../mfc/codesnippet/cpp/cdatabase-class_1.h)]
196-
196+
&nbsp;
197197
[!code-cpp[NVC_MFCDatabase#10](../../mfc/codesnippet/cpp/cdatabase-class_2.cpp)]
198198

199199
## <a name="close"></a> `CDatabase::Close`

docs/mfc/reference/cdialog-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ You can call `EndDialog` at any time, even in [OnInitDialog](#oninitdialog), in
274274
### Example
275275
276276
[!code-cpp[NVC_MFCControlLadenDialog#64](../../mfc/codesnippet/cpp/cdialog-class_3.cpp)]
277-
277+
&nbsp;
278278
[!code-cpp[NVC_MFCControlLadenDialog#65](../../mfc/codesnippet/cpp/cdialog-class_4.cpp)]
279279
280280
## <a name="getdefid"></a> CDialog::GetDefID

docs/mfc/reference/cdocument-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -705,9 +705,9 @@ Note that there are cases where `OnNewDocument` is called twice. This occurs whe
705705
The following examples illustrate alternative methods of initializing a document object.
706706

707707
[!code-cpp[NVC_MFCDocView#60](../../mfc/codesnippet/cpp/cdocument-class_5.cpp)]
708-
708+
&nbsp;
709709
[!code-cpp[NVC_MFCDocView#61](../../mfc/codesnippet/cpp/cdocument-class_6.cpp)]
710-
710+
&nbsp;
711711
[!code-cpp[NVC_MFCDocView#62](../../mfc/codesnippet/cpp/cdocument-class_7.cpp)]
712712

713713
## <a name="onopendocument"></a> `CDocument::OnOpenDocument`
@@ -738,11 +738,11 @@ If the user chooses the File Open command in an SDI application, the framework u
738738
The following examples illustrate alternative methods of initializing a document object.
739739

740740
[!code-cpp[NVC_MFCDocView#60](../../mfc/codesnippet/cpp/cdocument-class_5.cpp)]
741-
741+
&nbsp;
742742
[!code-cpp[NVC_MFCDocView#61](../../mfc/codesnippet/cpp/cdocument-class_6.cpp)]
743-
743+
&nbsp;
744744
[!code-cpp[NVC_MFCDocView#62](../../mfc/codesnippet/cpp/cdocument-class_7.cpp)]
745-
745+
&nbsp;
746746
[!code-cpp[NVC_MFCDocView#63](../../mfc/codesnippet/cpp/cdocument-class_8.cpp)]
747747

748748
## <a name="onpreviewhandlerqueryfocus"></a> `CDocument::OnPreviewHandlerQueryFocus`

docs/mfc/reference/cevent-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ For more information about how to use `CEvent` objects, see [Multithreading: How
5353
## Example
5454

5555
[!code-cpp[NVC_MFC_Utilities#45](../../mfc/codesnippet/cpp/cevent-class_1.cpp)]
56-
56+
&nbsp;
5757
[!code-cpp[NVC_MFC_Utilities#46](../../mfc/codesnippet/cpp/cevent-class_2.cpp)]
5858

5959
## Inheritance Hierarchy

docs/mfc/reference/cfile-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ The following table describes the possible results of `Open`.
547547
### Example
548548

549549
[!code-cpp[NVC_MFCFiles#13](../../atl-mfc-shared/reference/codesnippet/cpp/cfile-class_9.cpp)]
550-
550+
&nbsp;
551551
[!code-cpp[NVC_MFCFiles#14](../../atl-mfc-shared/reference/codesnippet/cpp/cfile-class_10.cpp)]
552552

553553
## <a name="operator_handle"></a> CFile::operator HANDLE

docs/mfc/reference/cfindreplacedialog-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ Nonzero if the dialog box object was successfully created; otherwise 0.
145145
In order for the parent window to be notified of find/replace requests, you must use the Windows [RegisterWindowMessage](/windows/win32/api/winuser/nf-winuser-registerwindowmessagew) function whose return value is a message number unique to the application's instance. Your frame window should have a message map entry that declares the callback function ( `OnFindReplace` in the example that follows) that handles this registered message. The following code fragment is an example of how to do this for a frame window class named `CMyRichEditView`:
146146

147147
[!code-cpp[NVC_MFCDocView#171](../../mfc/codesnippet/cpp/cfindreplacedialog-class_2.h)]
148-
148+
&nbsp;
149149
[!code-cpp[NVC_MFCDocView#172](../../mfc/codesnippet/cpp/cfindreplacedialog-class_3.cpp)]
150-
150+
&nbsp;
151151
[!code-cpp[NVC_MFCDocView#173](../../mfc/codesnippet/cpp/cfindreplacedialog-class_4.cpp)]
152152

153153
Within your `OnFindReplace` function, you interpret the intentions of the user by using the [CFindReplaceDialog::FindNext](#findnext) and [CFindReplaceDialog::IsTerminating](#isterminating) methods and you create the code for the find/replace operations.

docs/mfc/reference/cformview-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The form-view window and child controls aren't created until `CWnd::Create` is c
8686
### Example
8787

8888
[!code-cpp[NVC_MFCDocView#90](../../mfc/codesnippet/cpp/cformview-class_1.h)]
89-
89+
&nbsp;
9090
[!code-cpp[NVC_MFCDocView#91](../../mfc/codesnippet/cpp/cformview-class_2.cpp)]
9191

9292
## <a name="isinitdlgcompleted"></a> `CFormView::IsInitDlgCompleted`

docs/mfc/reference/cmdiframewnd-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ Do not call this member function if you use the framework to manage your MDI chi
391391
### Example
392392
393393
[!code-cpp[NVC_MFCWindowing#19](../../mfc/reference/codesnippet/cpp/cmdiframewnd-class_7.cpp)]
394-
394+
&nbsp;
395395
[!code-cpp[NVC_MFCWindowing#20](../../mfc/reference/codesnippet/cpp/cmdiframewnd-class_8.cpp)]
396396
397397
## <a name="mditile"></a> CMDIFrameWnd::MDITile

docs/mfc/reference/cmenu-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ The Windows `GetMenuCheckMarkDimensions` function retrieves the dimensions of th
12861286
### Example
12871287

12881288
[!code-cpp[NVC_MFCWindowing#32](../../mfc/reference/codesnippet/cpp/cmenu-class_12.cpp)]
1289-
1289+
&nbsp;
12901290
[!code-cpp[NVC_MFCWindowing#33](../../mfc/reference/codesnippet/cpp/cmenu-class_13.cpp)]
12911291

12921292
## <a name="setmenuiteminfo"></a> `CMenu::SetMenuItemInfo`

docs/mfc/reference/cpropertypage-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -447,11 +447,11 @@ For more information on how to make a wizard-type property sheet, see [`CPropert
447447
### Example
448448
449449
[!code-cpp[NVC_MFCDocView#119](../../mfc/codesnippet/cpp/cpropertypage-class_9.cpp)]
450-
450+
&nbsp;
451451
[!code-cpp[NVC_MFCDocView#120](../../mfc/codesnippet/cpp/cpropertypage-class_10.cpp)]
452-
452+
&nbsp;
453453
[!code-cpp[NVC_MFCDocView#121](../../mfc/codesnippet/cpp/cpropertypage-class_11.cpp)]
454-
454+
&nbsp;
455455
[!code-cpp[NVC_MFCDocView#122](../../mfc/codesnippet/cpp/cpropertypage-class_12.cpp)]
456456
457457
## <a name="onwizardnext"></a> `CPropertyPage::OnWizardNext`
@@ -505,9 +505,9 @@ If a page returns a nonzero value, the property sheet doesn't send the message t
505505
### Example
506506
507507
[!code-cpp[NVC_MFCDocView#124](../../mfc/codesnippet/cpp/cpropertypage-class_14.cpp)]
508-
508+
&nbsp;
509509
[!code-cpp[NVC_MFCDocView#125](../../mfc/codesnippet/cpp/cpropertypage-class_15.cpp)]
510-
510+
&nbsp;
511511
[!code-cpp[NVC_MFCDocView#126](../../mfc/codesnippet/cpp/cpropertypage-class_16.cpp)]
512512
513513
## <a name="setmodified"></a> `CPropertyPage::SetModified`

docs/mfc/reference/cpropertysheet-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ To display a modal property sheet, call [`DoModal`](#domodal) instead.
315315
### Example
316316

317317
[!code-cpp[NVC_MFCDocView#132](../../mfc/codesnippet/cpp/cpropertysheet-class_4.cpp)]
318-
318+
&nbsp;
319319
[!code-cpp[NVC_MFCDocView#133](../../mfc/codesnippet/cpp/cpropertysheet-class_5.cpp)]
320320

321321
## <a name="domodal"></a> `CPropertySheet::DoModal`
@@ -750,9 +750,9 @@ If you want to change the text on the Finish button or hide the Next and Back bu
750750
A `CPropertySheet` has three wizard property pages: `CStylePage`, `CColorPage`, and `CShapePage`. The code fragment below shows how to enable and disable the **Back** and **Next** buttons on the wizard property page.
751751

752752
[!code-cpp[NVC_MFCDocView#140](../../mfc/codesnippet/cpp/cpropertysheet-class_13.cpp)]
753-
753+
&nbsp;
754754
[!code-cpp[NVC_MFCDocView#141](../../mfc/codesnippet/cpp/cpropertysheet-class_14.cpp)]
755-
755+
&nbsp;
756756
[!code-cpp[NVC_MFCDocView#138](../../mfc/codesnippet/cpp/cpropertysheet-class_11.cpp)]
757757

758758
## <a name="setwizardmode"></a> `CPropertySheet::SetWizardMode`

docs/mfc/reference/crecordset-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ Your stored procedure needs to have bound fields if you want to call `FlushResul
504504
The following code assumes that `COutParamRecordset` is a `CRecordset`-derived object based on a predefined query with an input parameter and an output parameter, and having multiple result sets. Note the structure of the [`DoFieldExchange`](#dofieldexchange) override.
505505

506506
[!code-cpp[NVC_MFCDatabase#21](../../mfc/codesnippet/cpp/crecordset-class_5.cpp)]
507-
507+
&nbsp;
508508
[!code-cpp[NVC_MFCDatabase#22](../../mfc/codesnippet/cpp/crecordset-class_6.cpp)]
509509

510510
## <a name="getbookmark"></a> `CRecordset::GetBookmark`

docs/mfc/reference/cricheditctrl-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ For more information, see [`EM_STREAMIN`](/windows/win32/Controls/em-streamin) m
19721972
### Example
19731973

19741974
[!code-cpp[NVC_MFC_CRichEditCtrl#34](../../mfc/reference/codesnippet/cpp/cricheditctrl-class_34.cpp)]
1975-
1975+
&nbsp;
19761976
[!code-cpp[NVC_MFC_CRichEditCtrl#35](../../mfc/reference/codesnippet/cpp/cricheditctrl-class_35.cpp)]
19771977

19781978
## <a name="streamout"></a> `CRichEditCtrl::StreamOut`
@@ -2018,7 +2018,7 @@ For more information, see [`EM_STREAMOUT`](/windows/win32/Controls/em-streamout)
20182018
### Example
20192019

20202020
[!code-cpp[NVC_MFC_CRichEditCtrl#36](../../mfc/reference/codesnippet/cpp/cricheditctrl-class_36.cpp)]
2021-
2021+
&nbsp;
20222022
[!code-cpp[NVC_MFC_CRichEditCtrl#37](../../mfc/reference/codesnippet/cpp/cricheditctrl-class_37.cpp)]
20232023

20242024
## <a name="undo"></a> `CRichEditCtrl::Undo`

docs/mfc/reference/cscrollview-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ You must set the mapping mode to any of the Windows mapping modes except `MM_ISO
341341
### Example
342342
343343
[!code-cpp[NVC_MFCDocView#168](../../mfc/codesnippet/cpp/cscrollview-class_5.cpp)]
344-
344+
&nbsp;
345345
[!code-cpp[NVC_MFCDocView#169](../../mfc/codesnippet/cpp/cscrollview-class_6.cpp)]
346346
347347
## See also

docs/mfc/reference/csingledoctemplate-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Dynamically allocate a `CSingleDocTemplate` object and pass it to `CWinApp::AddD
103103
### Example
104104

105105
[!code-cpp[NVC_MFCDocViewSDI#13](../../mfc/codesnippet/cpp/csingledoctemplate-class_1.cpp)]
106-
106+
&nbsp;
107107
[!code-cpp[NVC_MFCDocViewSDI#14](../../mfc/codesnippet/cpp/csingledoctemplate-class_2.cpp)]
108108

109109
## See also

docs/mfc/reference/csocket-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ For more information, see [Windows Sockets: Using Sockets with Archives](../../m
9999
### Example
100100

101101
[!code-cpp[NVC_MFCSocketThread#1](../../mfc/reference/codesnippet/cpp/csocket-class_2.h)]
102-
102+
&nbsp;
103103
[!code-cpp[NVC_MFCSocketThread#2](../../mfc/reference/codesnippet/cpp/csocket-class_3.cpp)]
104-
104+
&nbsp;
105105
[!code-cpp[NVC_MFCSocketThread#3](../../mfc/reference/codesnippet/cpp/csocket-class_4.cpp)]
106106

107107
## <a name="cancelblockingcall"></a> `CSocket::CancelBlockingCall`

0 commit comments

Comments
 (0)