You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/mfc/reference/cvslistbox-class.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -91,20 +91,20 @@ virtual int AddItem(
91
91
```
92
92
93
93
### Parameters
94
-
[in]`strIext`
94
+
[in]*strIext*
95
95
A reference to a string.
96
96
97
-
[in]`dwData`
97
+
[in]*dwData*
98
98
An application-specific 32-bit value that is associated with the string. The default value is 0.
99
99
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.
102
102
103
103
### Return Value
104
104
The zero-based index of the position of the string in the list control.
105
105
106
106
### 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.
`TRUE` if the edit operation starts successfully; otherwise, `FALSE`.
132
+
TRUE if the edit operation starts successfully; otherwise, FALSE.
133
133
134
134
### Remarks
135
135
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.
Copy file name to clipboardExpand all lines: docs/mfc/reference/cwaitcursor-class.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ class CWaitCursor
47
47
> [!NOTE]
48
48
> 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**.
49
49
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.
51
51
52
52
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.
53
53
@@ -91,7 +91,7 @@ void Restore();
91
91
```
92
92
93
93
### 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.
95
95
96
96
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).
0 commit comments