Skip to content

Commit f16949e

Browse files
authored
Merge pull request MicrosoftDocs#1008 from msebolt/format-mfc-reference-pr16
format mfc reference pr16
2 parents 9c82d7d + 15fa223 commit f16949e

30 files changed

+2617
-2617
lines changed

docs/mfc/reference/cview-class.md

Lines changed: 119 additions & 119 deletions
Large diffs are not rendered by default.

docs/mfc/reference/cvslistbox-class.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,20 @@ virtual int AddItem(
9191
```
9292

9393
### Parameters
94-
[in] `strIext`
94+
[in] *strIext*
9595
A reference to a string.
9696

97-
[in] `dwData`
97+
[in] *dwData*
9898
An application-specific 32-bit value that is associated with the string. The default value is 0.
9999

100-
[in] `iIndex`
101-
The zero-based index of the position that will hold the string. If the `iIndex` parameter is -1, the string is added to the end of the list. The default value is -1.
100+
[in] *iIndex*
101+
The zero-based index of the position that will hold the string. If the *iIndex* parameter is -1, the string is added to the end of the list. The default value is -1.
102102

103103
### Return Value
104104
The zero-based index of the position of the string in the list control.
105105

106106
### Remarks
107-
Use the [CVSListBox::GetItemData](#getitemdata) method to retrieve the value that is specified by the `dwData` parameter. This value can be an application-specific integer or a pointer to other data.
107+
Use the [CVSListBox::GetItemData](#getitemdata) method to retrieve the value that is specified by the *dwData* parameter. This value can be an application-specific integer or a pointer to other data.
108108

109109
## <a name="cvslistbox"></a> CVSListBox::CVSListBox
110110
Constructs a `CVSListBox` object.
@@ -125,11 +125,11 @@ virtual BOOL EditItem(int iIndex);
125125
```
126126

127127
### Parameters
128-
[in] `iIndex`
128+
[in] *iIndex*
129129
Zero-based index of a list control item.
130130

131131
### Return Value
132-
`TRUE` if the edit operation starts successfully; otherwise, `FALSE`.
132+
TRUE if the edit operation starts successfully; otherwise, FALSE.
133133

134134
### Remarks
135135
The user starts an edit operation either by double-clicking the label of an item, or by pressing the **F2** or **SPACEBAR** key when an item has the focus.
@@ -155,7 +155,7 @@ virtual DWORD_PTR GetItemData(int iIndex) const;
155155
```
156156

157157
### Parameters
158-
[in] `iIndex`
158+
[in] *iIndex*
159159
The zero-based index of an editable list control item.
160160

161161
### Return Value
@@ -213,11 +213,11 @@ virtual BOOL RemoveItem(int iIndex);
213213
```
214214

215215
### Parameters
216-
[in] `iIndex`
216+
[in] *iIndex*
217217
The zero-based index of an editable list control item.
218218

219219
### Return Value
220-
`TRUE` if the specified item is removed; otherwise, `FALSE`.
220+
TRUE if the specified item is removed; otherwise, FALSE.
221221

222222
### Remarks
223223

@@ -229,11 +229,11 @@ virtual BOOL SelectItem(int iItem);
229229
```
230230

231231
### Parameters
232-
[in] `iItem`
232+
[in] *iItem*
233233
The zero-based index of an editable list control item.
234234

235235
### Return Value
236-
`TRUE` if this method is successful; otherwise, `FALSE`.
236+
TRUE if this method is successful; otherwise, FALSE.
237237

238238
### Remarks
239239
This method selects the specified item, and if it is required, scrolls the item into view.
@@ -248,10 +248,10 @@ virtual void SetItemData(
248248
```
249249

250250
### Parameters
251-
[in] `iIndex`
251+
[in] *iIndex*
252252
The zero-based index of an editable list control item.
253253

254-
[in] `dwData`
254+
[in] *dwData*
255255
A 32-bit value. This value can be an application-specific integer or a pointer to other data.
256256

257257
### Remarks

docs/mfc/reference/cwaitcursor-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class CWaitCursor
4747
> [!NOTE]
4848
> Because of how their constructors and destructors work, `CWaitCursor` objects are always declared as local variables — they're never declared as global variables nor are they allocated with **new**.
4949
50-
If you perform an operation which might cause the cursor to be changed, such as displaying a message box or dialog box, call the [Restore](#restore) member function to restore the wait cursor. It is okay to call **Restore** even when a wait cursor is currently displayed.
50+
If you perform an operation which might cause the cursor to be changed, such as displaying a message box or dialog box, call the [Restore](#restore) member function to restore the wait cursor. It is okay to call `Restore` even when a wait cursor is currently displayed.
5151

5252
Another way to display a wait cursor is to use the combination of [CCmdTarget::BeginWaitCursor](../../mfc/reference/ccmdtarget-class.md#beginwaitcursor), [CCmdTarget::EndWaitCursor](../../mfc/reference/ccmdtarget-class.md#endwaitcursor), and perhaps [CCmdTarget::RestoreWaitCursor](../../mfc/reference/ccmdtarget-class.md#restorewaitcursor). However, `CWaitCursor` is easier to use because you don't need to set the cursor to the previous cursor when you're done with the lengthy operation.
5353

@@ -91,7 +91,7 @@ void Restore();
9191
```
9292

9393
### Remarks
94-
It is OK to call **Restore** even when the wait cursor is currently displayed.
94+
It is OK to call `Restore` even when the wait cursor is currently displayed.
9595

9696
If you need to restore the wait cursor while in a function other than the one in which the `CWaitCursor` object is declared, you can call [CCmdTarget::RestoreWaitCursor](../../mfc/reference/ccmdtarget-class.md#restorewaitcursor).
9797

0 commit comments

Comments
 (0)