diff --git a/docs/atl/reference/ccomcoclass-class.md b/docs/atl/reference/ccomcoclass-class.md
index 1cea7aa58c6..58e766c1204 100644
--- a/docs/atl/reference/ccomcoclass-class.md
+++ b/docs/atl/reference/ccomcoclass-class.md
@@ -170,7 +170,7 @@ A standard HRESULT value. For details, see Remarks.
### Remarks
-To call `Error`, your object must implement the `ISupportErrorInfo Interface` interface.
+To call `Error`, your object must implement the `ISupportErrorInfo` interface.
If the *hRes* parameter is nonzero, then `Error` returns the value of *hRes*. If *hRes* is zero, then the first four versions of `Error` return DISP_E_EXCEPTION. The last two versions return the result of the macro **MAKE_HRESULT( 1, FACILITY_ITF,** *nID* **)**.
diff --git a/docs/atl/supporting-idispatch-and-ierrorinfo.md b/docs/atl/supporting-idispatch-and-ierrorinfo.md
index 177b65623fa..7d0c89d28e7 100644
--- a/docs/atl/supporting-idispatch-and-ierrorinfo.md
+++ b/docs/atl/supporting-idispatch-and-ierrorinfo.md
@@ -9,7 +9,7 @@ ms.assetid: 7db2220f-319d-4ce9-9382-d340019f14f7
You can use the template class [IDispatchImpl](../atl/reference/idispatchimpl-class.md) to provide a default implementation of the `IDispatch Interface` portion of any dual interfaces on your object.
-If your object uses the `IErrorInfo` interface to report errors back to the client, then your object must support the `ISupportErrorInfo Interface` interface. The template class [ISupportErrorInfoImpl](../atl/reference/isupporterrorinfoimpl-class.md) provides an easy way to implement this if you only have a single interface that generates errors on your object.
+If your object uses the `IErrorInfo` interface to report errors back to the client, then your object must support the `ISupportErrorInfo` interface. The template class [ISupportErrorInfoImpl](../atl/reference/isupporterrorinfoimpl-class.md) provides an easy way to implement this if you only have a single interface that generates errors on your object.
## See also
diff --git a/docs/code-quality/c6240.md b/docs/code-quality/c6240.md
index d50c2ba0729..1e44d46db25 100644
--- a/docs/code-quality/c6240.md
+++ b/docs/code-quality/c6240.md
@@ -53,7 +53,7 @@ void f(int n)
}
else
{
- puts("bitmak false");
+ puts("bitmask false");
}
}
```
diff --git a/docs/mfc/reference/cd2dbitmap-class.md b/docs/mfc/reference/cd2dbitmap-class.md
index 576532f3178..47d1045b096 100644
--- a/docs/mfc/reference/cd2dbitmap-class.md
+++ b/docs/mfc/reference/cd2dbitmap-class.md
@@ -70,7 +70,7 @@ class CD2DBitmap : public CD2DResource;
|[CD2DBitmap::m_lpszType](#m_lpsztype)|Resource type.|
|[CD2DBitmap::m_pBitmap](#m_pbitmap)|Stores a pointer to an ID2D1Bitmap object.|
|[CD2DBitmap::m_sizeDest](#m_sizedest)|Bitmap destination size.|
-|[CD2DBitmap::m_strPath](#m_strpath)|Botmap file path.|
+|[CD2DBitmap::m_strPath](#m_strpath)|Bitmap file path.|
|[CD2DBitmap::m_uiResID](#m_uiresid)|Bitmap resource ID.|
## Inheritance Hierarchy
diff --git a/docs/mfc/reference/cd2dgeometry-class.md b/docs/mfc/reference/cd2dgeometry-class.md
index 1c6a4178da5..e15757a9764 100644
--- a/docs/mfc/reference/cd2dgeometry-class.md
+++ b/docs/mfc/reference/cd2dgeometry-class.md
@@ -239,7 +239,7 @@ BOOL ComputePointAtLength(
### Parameters
*length*
-The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.
+The distance along the geometry of the point and tangent to find. If this distance is less than 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.
*worldTransform*
The transform to apply to the geometry before calculating the specified point and tangent.
diff --git a/docs/mfc/reference/cd2dpathgeometry-class.md b/docs/mfc/reference/cd2dpathgeometry-class.md
index 26d66a55e56..40f5c337f60 100644
--- a/docs/mfc/reference/cd2dpathgeometry-class.md
+++ b/docs/mfc/reference/cd2dpathgeometry-class.md
@@ -32,7 +32,7 @@ class CD2DPathGeometry : public CD2DGeometry;
|[CD2DPathGeometry::Create](#create)|Creates a CD2DPathGeometry. (Overrides [CD2DResource::Create](../../mfc/reference/cd2dresource-class.md#create).)|
|[CD2DPathGeometry::Destroy](#destroy)|Destroys a CD2DPathGeometry object. (Overrides [CD2DGeometry::Destroy](../../mfc/reference/cd2dgeometry-class.md#destroy).)|
|[CD2DPathGeometry::Detach](#detach)|Detaches resource interface from the object|
-|[CD2DPathGeometry::GetFigureCount](#getfigurecount)|Retrieves tthe number of figures in the path geometry.|
+|[CD2DPathGeometry::GetFigureCount](#getfigurecount)|Retrieves the number of figures in the path geometry.|
|[CD2DPathGeometry::GetSegmentCount](#getsegmentcount)|Retrieves the number of segments in the path geometry.|
|[CD2DPathGeometry::Open](#open)|Retrieves the geometry sink that is used to populate the path geometry with figures and segments.|
|[CD2DPathGeometry::Stream](#stream)|Copies the contents of the path geometry to the specified ID2D1GeometrySink.|
diff --git a/docs/mfc/reference/cdaotabledef-class.md b/docs/mfc/reference/cdaotabledef-class.md
index 2078bc7bb02..a527297ab3f 100644
--- a/docs/mfc/reference/cdaotabledef-class.md
+++ b/docs/mfc/reference/cdaotabledef-class.md
@@ -420,7 +420,7 @@ The path as shown in the table below is the full path for the directory containi
The table in [CDaoTableDef::SetConnect](#setconnect) shows possible database types and their corresponding database specifiers and paths:
-For Microsoft Jet database base tables, the specifier is a empty string ("").
+For Microsoft Jet database base tables, the specifier is an empty string ("").
If a password is required but not provided, the ODBC driver displays a login dialog box the first time a table is accessed and again if the connection is closed and reopened. If an attached table has the `dbAttachSavePWD` attribute, the login prompt will not appear when the table is reopened.
diff --git a/docs/mfc/reference/cdockstate-class.md b/docs/mfc/reference/cdockstate-class.md
index 93d04a208a1..573f914f69e 100644
--- a/docs/mfc/reference/cdockstate-class.md
+++ b/docs/mfc/reference/cdockstate-class.md
@@ -92,7 +92,7 @@ void LoadState(LPCTSTR lpszProfileName);
### Parameters
*lpszProfileName*
-Points to a null-teminated string that specifies the name of a section in the initialization file or a key in the Windows registry where state information is stored.
+Points to a null-terminated string that specifies the name of a section in the initialization file or a key in the Windows registry where state information is stored.
### Remarks
diff --git a/docs/mfc/reference/cexception-class.md b/docs/mfc/reference/cexception-class.md
index bd6b64594a0..93f52aba8ac 100644
--- a/docs/mfc/reference/cexception-class.md
+++ b/docs/mfc/reference/cexception-class.md
@@ -143,7 +143,7 @@ catch(CMemoryException* pEx)
pEx->Delete();
AfxAbort();
}
-// If an exception occurrs in the CFile constructor,
+// If an exception occurs in the CFile constructor,
// the language will free the memory allocated by new
// and will not complete the assignment to pFile.
// Thus, our clean-up code needs to test for NULL.
diff --git a/docs/mfc/reference/cmdichildwndex-class.md b/docs/mfc/reference/cmdichildwndex-class.md
index b0b6eed2b5c..69dede74255 100644
--- a/docs/mfc/reference/cmdichildwndex-class.md
+++ b/docs/mfc/reference/cmdichildwndex-class.md
@@ -953,7 +953,7 @@ BOOL IsTaskbarTabsSupportEnabled();
### Return Value
-TRUE if the MDI child can appear on Windows 7 taskbar tabs; FALSE if the MDI child can not appear on Windows 7 taskbar tabs.
+TRUE if the MDI child can appear on Windows 7 taskbar tabs; FALSE if the MDI child cannot appear on Windows 7 taskbar tabs.
### Remarks
diff --git a/docs/mfc/reference/cmfccolorbar-class.md b/docs/mfc/reference/cmfccolorbar-class.md
index 56ffd39bac4..d24989d33b9 100644
--- a/docs/mfc/reference/cmfccolorbar-class.md
+++ b/docs/mfc/reference/cmfccolorbar-class.md
@@ -78,7 +78,7 @@ class CMFCColorBar : public CMFCPopupMenuBar
|`m_bShowDocColorsWhenDocked`|A Boolean that indicates whether to show document colors when the color bar is docked. For more information, see [CMFCColorBar::SetDocumentColors](#setdocumentcolors).|
|`m_bStdColorDlg`|A Boolean that indicates whether to show the standard system color dialog box or the [CMFCColorDialog](../../mfc/reference/cmfccolordialog-class.md) dialog box. For more information, see [CMFCColorBar::EnableOtherButton](#enableotherbutton).|
|`m_ColorAutomatic`|A [COLORREF](/windows/win32/gdi/colorref) that stores the current automatic color. For more information, see [CMFCColorBar::EnableOtherButton](#enableotherbutton).|
-|`m_ColorNames`|An [CMap](../../mfc/reference/cmap-class.md) object that associates a set of RGB colors with their names.|
+|`m_ColorNames`|A [CMap](../../mfc/reference/cmap-class.md) object that associates a set of RGB colors with their names.|
|`m_colors`|A [CArray](../../mfc/reference/carray-class.md) of [COLORREF](/windows/win32/gdi/colorref) values that contains the colors that are displayed in the color bar control.|
|`m_ColorSelected`|A [COLORREF](/windows/win32/gdi/colorref) value that is the color that the user has currently selected from the color bar control.|
|`m_lstDocColors`|A [CList](../../mfc/reference/clist-class.md) of [COLORREF](/windows/win32/gdi/colorref) values that contains the colors that are currently used in a document.|
diff --git a/docs/mfc/reference/cmfceditbrowsectrl-class.md b/docs/mfc/reference/cmfceditbrowsectrl-class.md
index 4026be004c5..4674427de8b 100644
--- a/docs/mfc/reference/cmfceditbrowsectrl-class.md
+++ b/docs/mfc/reference/cmfceditbrowsectrl-class.md
@@ -306,7 +306,7 @@ Specifies the illegal file name.
### Return Value
-Should return FALSE if this file name can not be passed further to the file dialog. In this case, focus is set back to the edit control and the user should continue editing. The default implementation displays a message box telling the user about the illegal file name and returns FALSE. You can override this method, correct the file name, and return TRUE for further processing.
+Should return FALSE if this file name cannot be passed further to the file dialog. In this case, focus is set back to the edit control and the user should continue editing. The default implementation displays a message box telling the user about the illegal file name and returns FALSE. You can override this method, correct the file name, and return TRUE for further processing.
### Remarks
diff --git a/docs/mfc/reference/cmfctoolbarscustomizedialog-class.md b/docs/mfc/reference/cmfctoolbarscustomizedialog-class.md
index 788354e40da..af756deef39 100644
--- a/docs/mfc/reference/cmfctoolbarscustomizedialog-class.md
+++ b/docs/mfc/reference/cmfctoolbarscustomizedialog-class.md
@@ -518,7 +518,7 @@ virtual BOOL OnAssignKey(ACCEL* pAccel);
### Parameters
*pAccel*
-[in, out] Pointer to the proposed keyboard assigment that is expressed as an [ACCEL](/windows/win32/api/winuser/ns-winuser-accel) struct.
+[in, out] Pointer to the proposed keyboard assignment that is expressed as an [ACCEL](/windows/win32/api/winuser/ns-winuser-accel) struct.
### Return Value
diff --git a/docs/mfc/reference/cmfcvisualmanager-class.md b/docs/mfc/reference/cmfcvisualmanager-class.md
index 30656dd9234..fe9a063078a 100644
--- a/docs/mfc/reference/cmfcvisualmanager-class.md
+++ b/docs/mfc/reference/cmfcvisualmanager-class.md
@@ -556,7 +556,7 @@ An application can only have one `CMFCVisualManager` object associated with it.
## CMFCVisualManager::GetMDITabsBordersSize
-The framework calls this method to determine the border size of a MDITabs window before it draws the window.
+The framework calls this method to determine the border size of an MDITabs window before it draws the window.
```
virtual int GetMDITabsBordersSize();
diff --git a/docs/mfc/reference/cmfcvisualmanagervs2005-class.md b/docs/mfc/reference/cmfcvisualmanagervs2005-class.md
index fc636e47285..4f612c6a6dc 100644
--- a/docs/mfc/reference/cmfcvisualmanagervs2005-class.md
+++ b/docs/mfc/reference/cmfcvisualmanagervs2005-class.md
@@ -23,7 +23,7 @@ class CMFCVisualManagerVS2005 : public CMFCVisualManagerOffice2003
|Name|Description|
|----------|-----------------|
|[CMFCVisualManagerVS2005::GetDockingTabsBordersSize](#getdockingtabsborderssize)|The framework calls this method when it draws a pane that is docked and tabbed. (Overrides [CMFCVisualManager::GetDockingTabsBordersSize](../../mfc/reference/cmfcvisualmanager-class.md#getdockingtabsborderssize).)|
-|[CMFCVisualManagerVS2005::GetMDITabsBordersSize](#getmditabsborderssize)|The framework calls this method to determine the border size of a MDITabs window before it draws the window. (Overrides [CMFCVisualManager::GetMDITabsBordersSize](../../mfc/reference/cmfcvisualmanager-class.md#getmditabsborderssize).)|
+|[CMFCVisualManagerVS2005::GetMDITabsBordersSize](#getmditabsborderssize)|The framework calls this method to determine the border size of an MDITabs window before it draws the window. (Overrides [CMFCVisualManager::GetMDITabsBordersSize](../../mfc/reference/cmfcvisualmanager-class.md#getmditabsborderssize).)|
|[CMFCVisualManagerVS2005::GetPropertyGridGroupColor](#getpropertygridgroupcolor)|(Overrides [CMFCVisualManagerOffice2003::GetPropertyGridGroupColor](../../mfc/reference/cmfcvisualmanageroffice2003-class.md#getpropertygridgroupcolor).)|
|[CMFCVisualManagerVS2005::GetTabFrameColors](#gettabframecolors)|(Overrides [CMFCVisualManagerOffice2003::GetTabFrameColors](../../mfc/reference/cmfcvisualmanageroffice2003-class.md#gettabframecolors).)|
|[CMFCVisualManagerVS2005::HasOverlappedAutoHideButtons](#hasoverlappedautohidebuttons)|Returns whether auto-hide buttons overlap in the current visual manager. (Overrides [CMFCVisualManager::HasOverlappedAutoHideButtons](../../mfc/reference/cmfcvisualmanager-class.md#hasoverlappedautohidebuttons).)|
diff --git a/docs/mfc/reference/colecmdui-class.md b/docs/mfc/reference/colecmdui-class.md
index 954ba6ac620..93442684f98 100644
--- a/docs/mfc/reference/colecmdui-class.md
+++ b/docs/mfc/reference/colecmdui-class.md
@@ -34,7 +34,7 @@ class COleCmdUI : public CCmdUI
## Remarks
-In an application that is not enabled for DocObjects, when the user views a menu in the application, MFC processes UPDATE_COMMAND_UI notifcations. Each notification is given a [CCmdUI](../../mfc/reference/ccmdui-class.md) object that can be manipulated to reflect the state of a particular command. However, when your application is enabled for DocObjects, MFC processes UPDATE_OLE_COMMAND_UI notifications and assigns `COleCmdUI` objects.
+In an application that is not enabled for DocObjects, when the user views a menu in the application, MFC processes UPDATE_COMMAND_UI notifications. Each notification is given a [CCmdUI](../../mfc/reference/ccmdui-class.md) object that can be manipulated to reflect the state of a particular command. However, when your application is enabled for DocObjects, MFC processes UPDATE_OLE_COMMAND_UI notifications and assigns `COleCmdUI` objects.
`COleCmdUI` allows a DocObject to receive commands that originate in its container's user interface (such as FileNew, Open, Print, and so on), and allows a container to receive commands that originate in the DocObject's user interface. Although `IDispatch` could be used to dispatch the same commands, `IOleCommandTarget` provides a simpler way to query and execute because it relies on a standard set of commands, usually without arguments, and no type information is involved. `COleCmdUI` can be used to enable, update, and set other properties of DocObject user interface commands. When you want to invoke the command, call [COleServerDoc::OnExecOleCmd](../../mfc/reference/coleserverdoc-class.md#onexecolecmd).
diff --git a/docs/mfc/reference/colecontrolsite-class.md b/docs/mfc/reference/colecontrolsite-class.md
index 06932c8dffc..8b58ebd5845 100644
--- a/docs/mfc/reference/colecontrolsite-class.md
+++ b/docs/mfc/reference/colecontrolsite-class.md
@@ -358,7 +358,7 @@ Specifies whether the control site wishes to stop accepting events. Nonzero if t
### Remarks
-If *bFreeze* is TRUE, the control site requests the control to stop fring events. If *bFreeze* is FALSE, the control site requests the control to continue firing events.
+If *bFreeze* is TRUE, the control site requests the control to stop firing events. If *bFreeze* is FALSE, the control site requests the control to continue firing events.
> [!NOTE]
> The control is not required to stop firing events if requested by the control site. It can continue firing but all subsequent events will be ignored by the control site.
@@ -1012,7 +1012,7 @@ Pointer to the list of arguments.
### Remarks
-Extra parameters for the method or property being invoked can be passeed using the *arg_list* parameter. If `SetProperty` encounters an error, an exception is thrown.
+Extra parameters for the method or property being invoked can be passed using the *arg_list* parameter. If `SetProperty` encounters an error, an exception is thrown.
The type of exception is determined by the return value of the attempt to set the property or method. If the return value is `DISP_E_EXCEPTION`, a `COleDispatchExcpetion` is thrown; otherwise a `COleException`.
diff --git a/docs/mfc/reference/coledataobject-class.md b/docs/mfc/reference/coledataobject-class.md
index c56df1d52c0..66f054c745a 100644
--- a/docs/mfc/reference/coledataobject-class.md
+++ b/docs/mfc/reference/coledataobject-class.md
@@ -96,7 +96,7 @@ Nonzero if successful; otherwise 0.
### Remarks
> [!NOTE]
-> Calling this function locks the Clipboard until this data object is released. The data object is released in the destructor for the `COleDataObject`. For more information, see [OpenClipboard](/windows/win32/api/winuser/nf-winuser-openclipboard) and [CloseClipboard](/windows/win32/api/winuser/nf-winuser-closeclipboard) in the Win32 documention.
+> Calling this function locks the Clipboard until this data object is released. The data object is released in the destructor for the `COleDataObject`. For more information, see [OpenClipboard](/windows/win32/api/winuser/nf-winuser-openclipboard) and [CloseClipboard](/windows/win32/api/winuser/nf-winuser-closeclipboard) in the Win32 documentation.
## COleDataObject::BeginEnumFormats
diff --git a/docs/mfc/reference/coledatasource-class.md b/docs/mfc/reference/coledatasource-class.md
index 5cb2cc3bd9b..8d0101c0358 100644
--- a/docs/mfc/reference/coledatasource-class.md
+++ b/docs/mfc/reference/coledatasource-class.md
@@ -227,7 +227,7 @@ For more information, see [RegisterClipboardFormat](/windows/win32/api/winuser/n
## COleDataSource::DoDragDrop
-Call the `DoDragDrop` member function to perform a drag-and-drop operation for this data source, typically in an [CWnd::OnLButtonDown](../../mfc/reference/cwnd-class.md#onlbuttondown) handler.
+Call the `DoDragDrop` member function to perform a drag-and-drop operation for this data source, typically in a [CWnd::OnLButtonDown](../../mfc/reference/cwnd-class.md#onlbuttondown) handler.
```
DROPEFFECT DoDragDrop(
diff --git a/docs/mfc/reference/colelinkingdoc-class.md b/docs/mfc/reference/colelinkingdoc-class.md
index a0e41b51281..a0e9bc58586 100644
--- a/docs/mfc/reference/colelinkingdoc-class.md
+++ b/docs/mfc/reference/colelinkingdoc-class.md
@@ -130,7 +130,7 @@ A pointer to the specified item; NULL if the item is not found.
### Remarks
-The default `COleLinkingDoc` implementation always returns NULL. This function is overriden in the derived class `COleServerDoc` to search the list of OLE server items for a linked item with the specified name (the name comparison is case sensitive). Override this function if you have implemented your own method of storing or retrieving linked server items.
+The default `COleLinkingDoc` implementation always returns NULL. This function is overridden in the derived class `COleServerDoc` to search the list of OLE server items for a linked item with the specified name (the name comparison is case sensitive). Override this function if you have implemented your own method of storing or retrieving linked server items.
## COleLinkingDoc::Register
diff --git a/docs/mfc/reference/coleobjectfactory-class.md b/docs/mfc/reference/coleobjectfactory-class.md
index 72f3cce4fcf..e1b3a5411d5 100644
--- a/docs/mfc/reference/coleobjectfactory-class.md
+++ b/docs/mfc/reference/coleobjectfactory-class.md
@@ -178,7 +178,7 @@ BOOL IsLicenseValid();
### Return Value
-TRUE if successul; otherwise false.
+TRUE if successful; otherwise false.
## COleObjectFactory::IsRegistered
diff --git a/docs/mfc/reference/colepastespecialdialog-class.md b/docs/mfc/reference/colepastespecialdialog-class.md
index ba39324f30c..cfc6e49021c 100644
--- a/docs/mfc/reference/colepastespecialdialog-class.md
+++ b/docs/mfc/reference/colepastespecialdialog-class.md
@@ -328,7 +328,7 @@ enum Selection {
};
```
-Brief desccriptions of these values follow:
+Brief descriptions of these values follow:
- `COlePasteSpecialDialog::pasteLink` The Paste Link radio button was checked and the chosen format was a standard OLE format.
diff --git a/docs/mfc/reference/colevariant-class.md b/docs/mfc/reference/colevariant-class.md
index 7879d57253a..d3ac1cbba0e 100644
--- a/docs/mfc/reference/colevariant-class.md
+++ b/docs/mfc/reference/colevariant-class.md
@@ -150,7 +150,7 @@ A [CByteArray](../../mfc/reference/cbytearray-class.md) object to be copied into
A [CLongBinary](../../mfc/reference/clongbinary-class.md) object to be copied into the new `COleVariant` object.
*pidl*
-A pointer to a [ITEMIDLIST](/windows/win32/api/shtypes/ns-shtypes-itemidlist) structure to be copied into the new `COleVariant` object.
+A pointer to an [ITEMIDLIST](/windows/win32/api/shtypes/ns-shtypes-itemidlist) structure to be copied into the new `COleVariant` object.
### Remarks
diff --git a/docs/mfc/reference/crecordset-class.md b/docs/mfc/reference/crecordset-class.md
index b24ab2f9642..04e0851f0db 100644
--- a/docs/mfc/reference/crecordset-class.md
+++ b/docs/mfc/reference/crecordset-class.md
@@ -205,7 +205,7 @@ void Cancel();
### Remarks
-The MFC ODBC classes no longer use asynchronous processing; to perform an asychronous operation, you must directly call the ODBC API function `SQLSetConnectOption`. For more information, see "Executing Functions Asynchronously" in the *ODBC SDK Programmer's Guide*.
+The MFC ODBC classes no longer use asynchronous processing; to perform an asynchronous operation, you must directly call the ODBC API function `SQLSetConnectOption`. For more information, see "Executing Functions Asynchronously" in the *ODBC SDK Programmer's Guide*.
## `CRecordset::CancelUpdate`
@@ -1474,7 +1474,7 @@ When you call `Open`, a query, usually a SQL **`SELECT`** statement, selects rec
|**`SELECT`** column-list **`FROM`** table-list|The specified columns from the specified table(s).|`"SELECT CustId, CustName FROM`
`Customer"`|
> [!CAUTION]
-> Don't insert extra whitespace in your SQL string. For example, if you insert whitespace between the curly brace and the **`CALL`** keyword, MFC will misinterpret the SQL string as a table name and incorporate it into a **`SELECT`** statement, which will result in an exception being thrown. Similarly, if your predefined query uses an output parameter, don't insert whitespace between the curly brace and the '' symbol. Finally, you must not insert whitespace before the curly brace in a **`CALL`** statement or before the **`SELECT`** keyword in a **`SELECT`** statment.
+> Don't insert extra whitespace in your SQL string. For example, if you insert whitespace between the curly brace and the **`CALL`** keyword, MFC will misinterpret the SQL string as a table name and incorporate it into a **`SELECT`** statement, which will result in an exception being thrown. Similarly, if your predefined query uses an output parameter, don't insert whitespace between the curly brace and the '' symbol. Finally, you must not insert whitespace before the curly brace in a **`CALL`** statement or before the **`SELECT`** keyword in a **`SELECT`** statement.
The usual procedure is to pass `NULL` to `Open`; in this case, `Open` calls [GetDefaultSQL](#getdefaultsql). If you're using a derived `CRecordset` class, `GetDefaultSQL` gives the table name(s) you specified in `ClassWizard`. You can instead specify other information in the `lpszSQL` parameter.
diff --git a/docs/mfc/reference/cricheditctrl-class.md b/docs/mfc/reference/cricheditctrl-class.md
index 3acdab323fa..95466b4037c 100644
--- a/docs/mfc/reference/cricheditctrl-class.md
+++ b/docs/mfc/reference/cricheditctrl-class.md
@@ -1195,7 +1195,7 @@ Contains the index value for the desired line in the text of the edit control, o
### Return Value
-The character index of the line specified in *`nLine`* or -1 if the specified line number is greater then the number of lines in the edit control.
+The character index of the line specified in *`nLine`* or -1 if the specified line number is greater than the number of lines in the edit control.
### Remarks
diff --git a/docs/mfc/reference/cricheditdoc-class.md b/docs/mfc/reference/cricheditdoc-class.md
index 700f0691962..3897e50c9b2 100644
--- a/docs/mfc/reference/cricheditdoc-class.md
+++ b/docs/mfc/reference/cricheditdoc-class.md
@@ -24,7 +24,7 @@ class CRichEditDoc : public COleServerDoc
|----------|-----------------|
|[CRichEditDoc::CreateClientItem](#createclientitem)|Called to perform cleanup of the document.|
|[CRichEditDoc::GetStreamFormat](#getstreamformat)|Indicates whether stream input and output should include formatting information.|
-|[CRichEditDoc::GetView](#getview)|Retrieves the asssociated [CRichEditView](../../mfc/reference/cricheditview-class.md) object.|
+|[CRichEditDoc::GetView](#getview)|Retrieves the associated [CRichEditView](../../mfc/reference/cricheditview-class.md) object.|
### Public Data Members
diff --git a/docs/mfc/reference/cview-class.md b/docs/mfc/reference/cview-class.md
index 28e7c3215b8..42e892ac90c 100644
--- a/docs/mfc/reference/cview-class.md
+++ b/docs/mfc/reference/cview-class.md
@@ -494,7 +494,7 @@ The drop effect that resulted from the drop attempt at the location specified by
The default implementation is to do nothing and return a dummy value ( -1 ) to indicate that the framework should call the [`OnDrop`](#ondrop) handler.
-Override this function to implement the effect of an right mouse-button drag and drop. Right mouse-button drag and drop typically displays a menu of choices when the right mouse-button is released.
+Override this function to implement the effect of a right mouse-button drag and drop. Right mouse-button drag and drop typically displays a menu of choices when the right mouse-button is released.
Your override of `OnDropEx` should query for the right mouse-button. You can call [`GetKeyState`](/windows/win32/api/winuser/nf-winuser-getkeystate) or store the right mouse-button state from your [`OnDragEnter`](#ondragenter) handler.
diff --git a/docs/mfc/reference/dialog-data-exchange-functions-for-ole-controls.md b/docs/mfc/reference/dialog-data-exchange-functions-for-ole-controls.md
index 37cc40288ab..7df654e2812 100644
--- a/docs/mfc/reference/dialog-data-exchange-functions-for-ole-controls.md
+++ b/docs/mfc/reference/dialog-data-exchange-functions-for-ole-controls.md
@@ -245,7 +245,7 @@ For more information about DDX, see [Dialog Data Exchange and Validation](../../
## DDX_OCInt
-The `DDX_OCInt` function manages the transfer of **`int`** (or **`long`**) data between a property of an OLE control in a dialog box, form view, or control view object and a **`int`** (or **`long`**) data member of the dialog box, form view, or control view object.
+The `DDX_OCInt` function manages the transfer of **`int`** (or **`long`**) data between a property of an OLE control in a dialog box, form view, or control view object and an **`int`** (or **`long`**) data member of the dialog box, form view, or control view object.
```cpp
void AFXAPI DDX_OCInt(
diff --git a/docs/mfc/reference/mfc-classes.md b/docs/mfc/reference/mfc-classes.md
index 1b2c709b60b..4989897e483 100644
--- a/docs/mfc/reference/mfc-classes.md
+++ b/docs/mfc/reference/mfc-classes.md
@@ -222,7 +222,7 @@ A wrapper for `D2D1_RECT_F`.
A wrapper for `D2D1_RECT_U`.
[`CD2DResource` Class](../../mfc/reference/cd2dresource-class.md)
-An abstract class that provides a interface for creating and managing `D2D` resources such as brushes, layers, and texts.
+An abstract class that provides an interface for creating and managing `D2D` resources such as brushes, layers, and texts.
[`CD2DRoundedRect` Class](../../mfc/reference/cd2droundedrect-class.md)
A wrapper for `D2D1_ROUNDED_RECT`.
@@ -840,7 +840,7 @@ Mimics the appearance of Microsoft Windows XP or Microsoft Vista when the user s
Gives an application the appearance of a Windows 7 application.
[`CMFCWindowsManagerDialog` Class](../../mfc/reference/cmfcwindowsmanagerdialog-class.md)
-Enables a user to manage MDI child windows in a MDI application.
+Enables a user to manage MDI child windows in an MDI application.
[`CMiniFrameWnd` Class](../../mfc/reference/cminiframewnd-class.md)
Represents a half-height frame window typically seen around floating toolbars.
diff --git a/docs/mfc/reference/standard-dialog-data-exchange-routines.md b/docs/mfc/reference/standard-dialog-data-exchange-routines.md
index fd89641996b..0af24a8c467 100644
--- a/docs/mfc/reference/standard-dialog-data-exchange-routines.md
+++ b/docs/mfc/reference/standard-dialog-data-exchange-routines.md
@@ -34,7 +34,7 @@ This topic lists the standard dialog data exchange (DDX) routines used for commo
## `DDX_CBIndex`
-The `DDX_CBIndex` function manages the transfer of **`int`** data between a combo box control in a dialog box, form view, or control view object and a **`int`** data member of the dialog box, form view, or control view object.
+The `DDX_CBIndex` function manages the transfer of **`int`** data between a combo box control in a dialog box, form view, or control view object and an **`int`** data member of the dialog box, form view, or control view object.
```cpp
void AFXAPI DDX_CBIndex(
diff --git a/docs/mfc/reference/variant-parameter-type-constants.md b/docs/mfc/reference/variant-parameter-type-constants.md
index e71f99e6d80..0304c57c92c 100644
--- a/docs/mfc/reference/variant-parameter-type-constants.md
+++ b/docs/mfc/reference/variant-parameter-type-constants.md
@@ -14,7 +14,7 @@ The following is a list of class constants:
## Variant Data Constants
-- VTS_COLOR A 32-bit integer used to represent a RGB color value.
+- VTS_COLOR A 32-bit integer used to represent an RGB color value.
- VTS_FONT A pointer to the `IFontDisp` interface of an OLE font object.
diff --git a/docs/mfc/walkthrough-adding-a-ctaskdialog-to-an-application.md b/docs/mfc/walkthrough-adding-a-ctaskdialog-to-an-application.md
index 6a21fdfad1d..962e3caae73 100644
--- a/docs/mfc/walkthrough-adding-a-ctaskdialog-to-an-application.md
+++ b/docs/mfc/walkthrough-adding-a-ctaskdialog-to-an-application.md
@@ -114,7 +114,7 @@ The following procedure shows you how to add functionality to the `CTaskDialog`
taskDialog.LoadCommandControls(TEMP_LINE1, TEMP_LINE2);
taskDialog.SetExpansionArea(
expansionInfo, collapsedLabel, expandedLabel);
- taskDialog.SetFooterText(L"This is the a small footnote to the user");
+ taskDialog.SetFooterText(L"This is a small footnote to the user");
taskDialog.SetVerificationCheckboxText(L"Remember your selection");
```