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/application-information-and-management.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ The Microsoft Foundation Class Library provides the following global functions t
43
43
|[`AfxShellManager`](#afxshellmanager)|Pointer to the global [shell manager](cshellmanager-class.md). |
44
44
|[`AfxSocketInit`](#afxsocketinit)|Called in a `CWinApp::InitInstance` override to initialize Windows Sockets.|
45
45
|[`AfxUserToolsManager`](#afxusertoolsmanager)|Pointer to the global [user tools manager](cusertoolsmanager-class.md).|
46
-
|[`AfxWinInit`](#afxwininit)|Called by the MFC-supplied `WinMain` function, as part of the [CWinApp](../../mfc/reference/cwinapp-class.md) initialization of a GUI-based application, to initialize MFC. Must be called directly for console applications that use MFC.|
46
+
|[`AfxWinInit`](#afxwininit)|Called by the MFC-supplied `WinMain` function, as part of the [`CWinApp`](../../mfc/reference/cwinapp-class.md) initialization of a GUI-based application, to initialize MFC. Must be called directly for console applications that use MFC.|
Copy file name to clipboardExpand all lines: docs/mfc/reference/cmap-class.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,7 +200,7 @@ Specifies the returned value of the retrieved element.
200
200
201
201
This function is most useful for iterating through all the elements in the map. Note that the position sequence is not necessarily the same as the key value sequence.
202
202
203
-
If the retrieved element is the last in the map, then the new value of *`rNextPosition`* is set to NULL.
203
+
If the retrieved element is the last in the map, then the new value of *`rNextPosition`* is set to `NULL`.
204
204
205
205
### Example
206
206
@@ -244,7 +244,7 @@ The iteration sequence is not predictable; therefore, the "first element in the
Copy file name to clipboardExpand all lines: docs/mfc/reference/cricheditctrl-class.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -565,7 +565,7 @@ In the second version, a pointer to a `CHARFORMAT2` structure, which is a Rich E
565
565
566
566
### Return Value
567
567
568
-
The `dwMask` data member of *cf*. It specified the default character formatting attributes.
568
+
The `dwMask` data member of *`cf`*. It specified the default character formatting attributes.
569
569
570
570
### Remarks
571
571
@@ -881,7 +881,7 @@ The two forms of this function provide alternate ways to get the bounds for the
881
881
882
882
The selection includes everything if the beginning (`cpMin` or *`nStartChar`*) is 0 and the end (`cpMax` or *`nEndChar`*) is - 1.
883
883
884
-
For more information, see [`EM_EXGETSEL`](/windows/win32/Controls/em-exgetsel) message and [CHARRANGE](/windows/win32/api/richedit/ns-richedit-charrange) structure in the Windows SDK.
884
+
For more information, see [`EM_EXGETSEL`](/windows/win32/Controls/em-exgetsel) message and [`CHARRANGE`](/windows/win32/api/richedit/ns-richedit-charrange) structure in the Windows SDK.
Copy file name to clipboardExpand all lines: docs/mfc/reference/cstdiofile-class.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,11 +221,11 @@ Number of bytes to move the pointer.
221
221
*`nFrom`*<br/>
222
222
Pointer movement mode. Must be one of the following values:
223
223
224
-
-`CFile::begin`: Move the file pointer *lOff* bytes forward from the beginning of the file.
224
+
-`CFile::begin`: Move the file pointer *`lOff`* bytes forward from the beginning of the file.
225
225
226
-
-`CFile::current`: Move the file pointer *lOff* bytes from the current position in the file.
226
+
-`CFile::current`: Move the file pointer *`lOff`* bytes from the current position in the file.
227
227
228
-
-`CFile::end`: Move the file pointer *lOff* bytes from the end of the file. Note that *lOff* must be negative to seek into the existing file; positive values will seek past the end of the file.
228
+
-`CFile::end`: Move the file pointer *`lOff`* bytes from the end of the file. Note that *`lOff`* must be negative to seek into the existing file; positive values will seek past the end of the file.
Substitutes the string pointed to by *`lpsz1`* for any instances of the characters "%1" in the template string resource identified by *`nIDS`*.
73
+
Substitutes the string pointed to by *`lpsz1`* for any instances of the characters `"%1"` in the template string resource identified by *`nIDS`*.
74
74
75
75
```cpp
76
76
voidAfxFormatString1(
@@ -88,13 +88,13 @@ A reference to a `CString` object that will contain the resultant string after t
88
88
The resource ID of the template string on which the substitution will be performed.
89
89
90
90
*`lpsz1`*<br/>
91
-
A string that will replace the format characters "%1" in the template string.
91
+
A string that will replace the format characters `"%1"` in the template string.
92
92
93
93
### Remarks
94
94
95
-
The newly formed string is stored in *`rString`*. For example, if the string in the string table is `File %1 not found`, and *`lpsz1`* is equal to `C:\MYFILE.TXT`, then *`rString`* will contain the string `File C:\MYFILE.TXT not found`. This function is useful for formatting strings sent to message boxes and other windows.
95
+
The newly formed string is stored in *`rString`*. For example, if the string in the string table is `"File %1 not found"`, and *`lpsz1`* is equal to `C:\MYFILE.TXT`, then *`rString`* will contain the string `"File C:\MYFILE.TXT not found"`. This function is useful for formatting strings sent to message boxes and other windows.
96
96
97
-
If the format characters `%1` appear in the string more than once, multiple substitutions will be made.
97
+
If the format characters `"%1"` appear in the string more than once, multiple substitutions will be made.
98
98
99
99
### Example
100
100
@@ -106,7 +106,7 @@ If the format characters `%1` appear in the string more than once, multiple subs
Substitutes the string pointed to by *`lpsz1`* for any instances of the characters "%1", and the string pointed to by *`lpsz2`* for any instances of the characters "%2", in the template string resource identified by *`nIDS`*.
109
+
Substitutes the string pointed to by *`lpsz1`* for any instances of the characters `"%1"`, and the string pointed to by *`lpsz2`* for any instances of the characters `"%2"`, in the template string resource identified by *`nIDS`*.
110
110
111
111
```cpp
112
112
void AfxFormatString2(
@@ -125,16 +125,16 @@ A reference to the `CString` that will contain the resultant string after the su
125
125
The string table ID of the template string on which the substitution will be performed.
126
126
127
127
*`lpsz1`*<br/>
128
-
A string that will replace the format characters `%1` in the template string.
128
+
A string that will replace the format characters `"%1"` in the template string.
129
129
130
130
*`lpsz2`*<br/>
131
-
A string that will replace the format characters `%2` in the template string.
131
+
A string that will replace the format characters `"%2"` in the template string.
132
132
133
133
### Remarks
134
134
135
-
The newly formed string is stored in *`rString`*. For example, if the string in the string table is `File %1 not found in directory %2`, *`lpsz1`* points to `MYFILE.TXT`, and *`lpsz2`* points to `C:\MYDIR`, then *`rString`* will contain the string `File MYFILE.TXT not found in directory C:\MYDIR`.
135
+
The newly formed string is stored in *`rString`*. For example, if the string in the string table is `"File %1 not found in directory %2"`, *`lpsz1`* points to `MYFILE.TXT`, and *`lpsz2`* points to `C:\MYDIR`, then *`rString`* will contain the string `"File MYFILE.TXT not found in directory C:\MYDIR"`.
136
136
137
-
If the format characters `%1` or `%2` appear in the string more than once, multiple substitutions will be made. They do not have to be in numerical order.
137
+
If the format characters `"%1"` or `"%2"` appear in the string more than once, multiple substitutions will be made. They do not have to be in numerical order.
Copy file name to clipboardExpand all lines: docs/mfc/reference/cwinthread-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,7 @@ Nonzero if `OnIdle` should be called after processing message; otherwise 0.
242
242
243
243
The default implementation does not call `OnIdle` after redundant mouse messages and messages generated by blinking carets.
244
244
245
-
If an application has created a short timer, `OnIdle` will be called frequently, causing performance problems. To improve such an application's performance, override `IsIdleMessage` in the application's `CWinApp`-derived class to check for WM_TIMER messages as follows:
245
+
If an application has created a short timer, `OnIdle` will be called frequently, causing performance problems. To improve such an application's performance, override `IsIdleMessage` in the application's `CWinApp`-derived class to check for `WM_TIMER` messages as follows:
0 commit comments