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
|AFX_WM_ACCGETSTATE|Used for accessibility support. Send this message to `CMFCPopupMenu` or `CMFCRibbonPanelMenu` to retrieve the state of the current element.|Index of element, which could be a menu button or separator.|Not used.|The element’s state. It is -1 if the index is invalid, 0 if the menu button has no special attributes. Otherwise it is a combination of the following flags:<br /><br /> TBBS_DISABLED –item is disabled<br /><br /> TBBS_CHECKED – item is checked<br /><br /> TBBS_BUTTON – the item is a standard pushbutton<br /><br /> TBBS_PRESSED –button is pressed<br /><br /> TBBS_INDETERMINATE – undefined state<br /><br /> TBBS_SEPARATOR - rather than a menu button, this element forms a separation between other menu items|
106
+
|AFX_WM_ACCGETSTATE|Used for accessibility support. Send this message to `CMFCPopupMenu` or `CMFCRibbonPanelMenu` to retrieve the state of the current element.|Index of element, which could be a menu button or separator.|Not used.|The element state. It is -1 if the index is invalid, 0 if the menu button has no special attributes. Otherwise it is a combination of the following flags:<br /><br /> TBBS_DISABLED ‒ item is disabled<br /><br /> TBBS_CHECKED ‒ item is checked<br /><br /> TBBS_BUTTON ‒ the item is a standard pushbutton<br /><br /> TBBS_PRESSED ‒ button is pressed<br /><br /> TBBS_INDETERMINATE ‒ undefined state<br /><br /> TBBS_SEPARATOR - rather than a menu button, this element forms a separation between other menu items|
107
107
|AFX_WM_CHANGE_ACTIVE_TAB|The framework sends this message to the resizable control bar control. Process this message to receive notifications from `CMFCTabCtrl` objects when a user changes an active tab.|The index of a tab.|Not used.|Nonzero.|
108
108
|AFX_WM_CHANGE_CURRENT_FOLDER|The framework sends this message to the parent of `CMFCShellListCtrl` when the user has changed the current folder.|Not used.|Not used.|Not used.|
109
109
|AFX_WM_CHANGEVISUALMANAGER|The framework sends this message to all frame windows when the user changes the current Visual Manager. In response to this message, a frame window recalculates its region and adjusts other parameters as needed. You can process the AFX_WM_CHANGEVISUALMANAGER message in your application if you need to be notified about this event. You must call the base class handler (`OnChangeVisualManager`) to ensure that the framework's internal processing of this event takes place.|Not used.|Not used.|Not used.|
Copy file name to clipboardExpand all lines: docs/mfc/reference/application-information-and-management.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
@@ -195,7 +195,7 @@ CWinApp* AFXAPI AfxGetApp();
195
195
A pointer to the single `CWinApp` object for the application.
196
196
197
197
### Remarks
198
-
If this method returns NULL, it might indicate that the application’s main window has not been fully initialized yet. It might also indicate a problem.
198
+
If this method returns NULL, it might indicate that the application main window has not been fully initialized yet. It might also indicate a problem.
Copy file name to clipboardExpand all lines: docs/mfc/reference/cdatabase-class.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ class CDatabase : public CObject
59
59
60
60
|Name|Description|
61
61
|----------|-----------------|
62
-
|[CDatabase::BeginTrans](#begintrans)|Starts a "transaction" — a series of reversible calls to the `AddNew`, **Edit**, **Delete**, and **Update** member functions of class `CRecordset`— on the connected data source. The data source must support transactions for **BeginTrans** to have any effect.|
62
+
|[CDatabase::BeginTrans](#begintrans)|Starts a "transaction" ‒ a series of reversible calls to the `AddNew`, **Edit**, **Delete**, and **Update** member functions of class `CRecordset`‒ on the connected data source. The data source must support transactions for **BeginTrans** to have any effect.|
63
63
|[CDatabase::BindParameters](#bindparameters)|Allows you to bind parameters before calling `CDatabase::ExecuteSQL`.|
64
64
|[CDatabase::Cancel](#cancel)|Cancels an asynchronous operation or a process from a second thread.|
65
65
|[CDatabase::CanTransact](#cantransact)|Returns nonzero if the data source supports transactions.|
@@ -369,7 +369,7 @@ BOOL IsOpen() const;
369
369
Nonzero if the `CDatabase` object is currently connected; otherwise 0.
370
370
371
371
## <aname="m_hdbc"></a> CDatabase::m_hdbc
372
-
Contains a public handle to an ODBC data source connection — a "connection handle."
372
+
Contains a public handle to an ODBC data source connection ‒ a "connection handle."
373
373
374
374
### Remarks
375
375
Normally, you will have no need to access this member variable directly. Instead, the framework allocates the handle when you call `OpenEx` or **Open**. The framework deallocates the handle when you call the **delete** operator on the `CDatabase` object. Note that the **Close** member function does not deallocate the handle.
@@ -416,7 +416,7 @@ virtual BOOL Open(
416
416
417
417
### Parameters
418
418
`lpszDSN`
419
-
Specifies a data source name — a name registered with ODBC through the ODBC Administrator program. If a DSN value is specified in `lpszConnect` (in the form "DSN=\<data-source>"), it must not be specified again in `lpszDSN`. In this case, `lpszDSN` should be **NULL**. Otherwise, you can pass **NULL** if you want to present the user with a Data Source dialog box in which the user can select a data source. For further information, see Remarks.
419
+
Specifies a data source name ‒ a name registered with ODBC through the ODBC Administrator program. If a DSN value is specified in `lpszConnect` (in the form "DSN=\<data-source>"), it must not be specified again in `lpszDSN`. In this case, `lpszDSN` should be **NULL**. Otherwise, you can pass **NULL** if you want to present the user with a Data Source dialog box in which the user can select a data source. For further information, see Remarks.
420
420
421
421
`bExclusive`
422
422
Not supported in this version of the class library. Currently, an assertion fails if this parameter is **TRUE**. The data source is always opened as shared (not exclusive).
@@ -514,7 +514,7 @@ BOOL Rollback();
514
514
See the article [Transaction: Performing a Transaction in a Recordset (ODBC)](../../data/odbc/transaction-performing-a-transaction-in-a-recordset-odbc.md).
Call this member function — before you call `OpenEx` or **Open**— to override the default number of seconds allowed before an attempted data source connection times out.
517
+
Call this member function ‒ before you call `OpenEx` or **Open**‒ to override the default number of seconds allowed before an attempted data source connection times out.
Copy file name to clipboardExpand all lines: docs/mfc/reference/cdbexception-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
@@ -114,7 +114,7 @@ class CDBException : public CException
114
114
115
115
-**AFX_SQL_ERROR_RECORDSET_FORWARD_ONLY** An attempt to scroll did not succeed because the data source does not support backward scrolling.
116
116
117
-
-**AFX_SQL_ERROR_SNAPSHOT_NOT_SUPPORTED** A call to `CRecordset::Open` requesting a snapshot failed. Snapshots are not supported by the driver. (This should only occur when the ODBC cursor library — ODBCCURS.DLL — is not present.)
117
+
-**AFX_SQL_ERROR_SNAPSHOT_NOT_SUPPORTED** A call to `CRecordset::Open` requesting a snapshot failed. Snapshots are not supported by the driver. (This should only occur when the ODBC cursor library ODBCCURS.DLL is not present.)
118
118
119
119
-**AFX_SQL_ERROR_SQL_CONFORMANCE** The driver for a `CDatabase::OpenEx` or `CDatabase::Open` call does not conform to the required ODBC SQL Conformance level of "Minimum" ( **SQL_OSC_MINIMUM**).
Copy file name to clipboardExpand all lines: docs/mfc/reference/cmap-class.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ template<class KEY, class ARG_KEY, class VALUE, class ARG_VALUE>class CMap : pub
94
94
95
95
|Name|Description|
96
96
|----------|-----------------|
97
-
|[CMap::operator []](#operator_at)|Inserts an element into the map — operator substitution for `SetAt`.|
97
+
|[CMap::operator []](#operator_at)|Inserts an element into the map ‒ operator substitution for `SetAt`.|
98
98
99
99
## Remarks
100
100
Once you have inserted a key-value pair (element) into the map, you can efficiently retrieve or delete the pair using the key to access it. You can also iterate over all the elements in the map.
-**value  Â** The value of the associated object.
149
+
-**value** The value of the associated object.
150
150
151
151
It is used to store the return values from [CMap::PLookup](#plookup), [CMap::PGetFirstAssoc](#pgetfirstassoc), and [CMap::PGetNextAssoc](#pgetnextassoc).
152
152
@@ -249,7 +249,7 @@ POSITION GetStartPosition() const;
Copy file name to clipboardExpand all lines: docs/mfc/reference/coledbrecordview-class.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ class COleDBRecordView : public CFormView
66
66
> [!NOTE]
67
67
> If you are working with the Data Access Objects (DAO) classes rather than the OLE DB Consumer Template classes, use class [CDaoRecordView](../../mfc/reference/cdaorecordview-class.md) instead. For more information, see the article [Overview: Database Programming](../../data/data-access-programming-mfc-atl.md).
68
68
69
-
`COleDBRecordView` keeps track of the user's position in the rowset so that the record view can update the user interface. When the user moves to either end of the rowset, the record view disables user interface objects — such as menu items or toolbar buttons — for moving further in the same direction.
69
+
`COleDBRecordView` keeps track of the user's position in the rowset so that the record view can update the user interface. When the user moves to either end of the rowset, the record view disables user interface objects ‒ such as menu items or toolbar buttons ‒ for moving further in the same direction.
70
70
71
71
For more information about rowset classes, see the [Using OLE DB Consumer Templates](../../data/oledb/ole-db-consumer-templates-cpp.md) article.
Copy file name to clipboardExpand all lines: docs/mfc/reference/cprogressctrl-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
@@ -77,7 +77,7 @@ class CProgressCtrl : public CWnd
77
77
## Remarks
78
78
A progress bar control is a window that an application can use to indicate the progress of a lengthy operation. It consists of a rectangle that is gradually filled, from left to right, with the system highlight color as an operation progresses.
79
79
80
-
A progress bar control has a range and a current position. The range represents the total duration of the operation, and the current position represents the progress the application has made toward completing the operation. The window procedure uses the range and the current position to determine the percentage of the progress bar to fill with the highlight color. Because the range and current position values are expressed as signed integers, the possible range of current position values is from –2,147,483,648 to 2,147,483,647 inclusive.
80
+
A progress bar control has a range and a current position. The range represents the total duration of the operation, and the current position represents the progress the application has made toward completing the operation. The window procedure uses the range and the current position to determine the percentage of the progress bar to fill with the highlight color. Because the range and current position values are expressed as signed integers, the possible range of current position values is from -2,147,483,648 to 2,147,483,647 inclusive.
81
81
82
82
For more information on using `CProgressCtrl`, see [Controls](../../mfc/controls-mfc.md) and [Using CProgressCtrl](../../mfc/using-cprogressctrl.md).
Copy file name to clipboardExpand all lines: docs/mfc/reference/cstring-formatting-and-message-box-display.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
@@ -207,7 +207,7 @@ int AFXAPI AfxMessageBox(
207
207
### Remarks
208
208
The first form of this overloaded function displays a text string pointed to by `lpszText` in the message box and uses `nIDHelp` to describe a Help context. The Help context is used to jump to an associated Help topic when the user presses the Help key (typically F1).
209
209
210
-
The second form of the function uses the string resource with the ID `nIDPrompt` to display a message in the message box. The associated Help page is found through the value of `nIDHelp`. If the default value of `nIDHelp` is used (– 1), the string resource ID, `nIDPrompt`, is used for the Help context. For more information about defining Help contexts, see [Technical Note 28](../../mfc/tn028-context-sensitive-help-support.md).
210
+
The second form of the function uses the string resource with the ID `nIDPrompt` to display a message in the message box. The associated Help page is found through the value of `nIDHelp`. If the default value of `nIDHelp` is used (-1), the string resource ID, `nIDPrompt`, is used for the Help context. For more information about defining Help contexts, see [Technical Note 28](../../mfc/tn028-context-sensitive-help-support.md).
0 commit comments