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/data/changes-you-might-make-to-the-default-code-mfc-data-access.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
@@ -39,7 +39,7 @@ The [MFC Application Wizard](../mfc/reference/database-support-mfc-application-w
39
39
40
40
- Parameterize the recordset. Specify the actual run-time parameter value after the filter. For more information, see [Recordset: Parameterizing a Recordset (ODBC)](../data/odbc/recordset-parameterizing-a-recordset-odbc.md)
41
41
42
-
- Pass a customized SQL string to the [Open](../mfc/reference/crecordset-class.md#crecordset__open) member function. For a discussion of what you can accomplish with this technique , see [SQL: Customizing Your Recordset's SQL Statement (ODBC)](../data/odbc/sql-customizing-your-recordset’s-sql-statement-odbc.md).
42
+
- Pass a customized SQL string to the [Open](../mfc/reference/crecordset-class.md#crecordset__open) member function. For a discussion of what you can accomplish with this technique , see [SQL: Customizing Your Recordset's SQL Statement (ODBC)](../data/odbc/sql-customizing-your-recordsets-sql-statement-odbc.md).
43
43
44
44
## See Also
45
45
[Using a Record View](../data/using-a-record-view-mfc-data-access.md)
Copy file name to clipboardExpand all lines: docs/data/filling-a-list-box-from-a-second-recordset-mfc-data-access.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
@@ -58,7 +58,7 @@ By default, a record view is associated with a single recordset object, whose fi
58
58
59
59
3. Empty the combo box of any previous contents.
60
60
61
-
4. Move through all records in the recordset, calling [CComboBox::AddString](../mfc/reference/ccombobox-class.md#ccombobox__addstring.md) for each string from the current record you want to add to the combo box.
61
+
4. Move through all records in the recordset, calling [CComboBox::AddString](../mfc/reference/ccombobox-class.md#ccombobox__addstring) for each string from the current record you want to add to the combo box.
Copy file name to clipboardExpand all lines: docs/mfc/dynamic-layout.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
@@ -79,7 +79,7 @@ With MFC in [!INCLUDE[vs_dev14](../ide/includes/vs_dev14_md.md)], you can create
79
79
80
80
```
81
81
82
-
3. For the first control to which you want to add dynamic behavior, use the static methods on the dynamic layout class to create the [MoveSettings](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movesettings%20structure) structure that encodes the way the control should be adjusted. You do this by first choosing the appropriate static method: [CMFCDynamicLayout::MoveHorizontal](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movehorizontal), [CMFCDynamicLayout::MoveVertical](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movevertical), [CMFCDynamicLayout::MoveNone](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movenone), or [CMFCDynamicLayout::MoveHorizontalAndVertical](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movehorizontalandvertical). You pass in a percentage for the horizontal and/or vertical aspects of the move. These static methods all return a newly created MoveSettings object that you can use to specify a control's move behavior.
82
+
3. For the first control to which you want to add dynamic behavior, use the static methods on the dynamic layout class to create the [MoveSettings](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movesettings_structure) structure that encodes the way the control should be adjusted. You do this by first choosing the appropriate static method: [CMFCDynamicLayout::MoveHorizontal](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movehorizontal), [CMFCDynamicLayout::MoveVertical](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movevertical), [CMFCDynamicLayout::MoveNone](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movenone), or [CMFCDynamicLayout::MoveHorizontalAndVertical](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__movehorizontalandvertical). You pass in a percentage for the horizontal and/or vertical aspects of the move. These static methods all return a newly created MoveSettings object that you can use to specify a control's move behavior.
83
83
84
84
Keep in mind that 100 means move exactly as much as the dialog changes size, which causes a control's edge to stay a fixed distance from the new border.
85
85
@@ -88,7 +88,7 @@ With MFC in [!INCLUDE[vs_dev14](../ide/includes/vs_dev14_md.md)], you can create
88
88
89
89
```
90
90
91
-
4. Do the same thing for the size behavior, which uses the [SizeSettings](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__sizesettings%20structure) type. For example, to specify that a control does not change size when the dialog resizes, use the following code:
91
+
4. Do the same thing for the size behavior, which uses the [SizeSettings](../mfc/reference/cmfcdynamiclayout-class.md#cmfcdynamiclayout__sizesettings_structure) type. For example, to specify that a control does not change size when the dialog resizes, use the following code:
Copy file name to clipboardExpand all lines: docs/mfc/mfc-and-atl.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
@@ -44,4 +44,4 @@ The Microsoft Foundation Classes (MFC) provide a C++ object-oriented wrapper ove
44
44
|[ATL COM Desktop Components](../atl/atl-com-desktop-components.md)|ATL provides class templates and other use constructs to simplify creation of COM objects in C++.|
45
45
|[ATL/MFC Shared Classes](../atl-mfc-shared/atl-mfc-shared-classes.md)|References for [CStringT Class](../atl-mfc-shared/reference/cstringt-class.md) and other classes that are shared by MFC and ATL.|
46
46
|[Working with Resource Files](../mfc/working-with-resource-files.md)|The resource editor lets you edit UI resources such as strings, images, and dialog boxes.|
47
-
|[Visual C++](../visual-cpp-in-visual-studio.md)|Parent topic for all C++ content in the MSDN library.|
47
+
|[Visual C++](../top/visual-cpp-in-visual-studio.md)|Parent topic for all C++ content in the MSDN library.|
The default user name. A user name can be 1 – 20 characters long and include alphabetic characters, accented characters, numbers, spaces, and symbols except for: " (quotation marks), / (forward slash), \ (backslash), [] (brackets), : (colon), | (pipe), \< (less-than sign), > (greater-than sign), + (plus sign), = (equal sign), ; (semicolon), , ( comma), (question mark), * (asterisk), leading spaces, and control characters (ASCII 00 to ASCII 31). For related information, see the topic "UserName Property" in DAO Help.
725
+
The default user name. A user name can be 1 – 20 characters long and include alphabetic characters, accented characters, numbers, spaces, and symbols except for: " (quotation marks), / (forward slash), \ (backslash), \[\] (brackets), : (colon), | (pipe), \< (less-than sign), > (greater-than sign), + (plus sign), = (equal sign), ; (semicolon), , ( comma), (question mark), * (asterisk), leading spaces, and control characters (ASCII 00 to ASCII 31). For related information, see the topic "UserName Property" in DAO Help.
726
726
727
727
### Remarks
728
728
The default user name that you set applies to new workspaces you create after the call. When you create subsequent workspaces, you do not need to specify a user name in the [Create](#cdaoworkspace__create) call.
Copy file name to clipboardExpand all lines: docs/mfc/reference/clistctrl-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
@@ -247,7 +247,7 @@ class CListCtrl : public CWnd
247
247
## Items and Subitems
248
248
Each item in a list view control consists of an icon (from an image list), a label, a current state, and an application-defined value (referred to as "item data"). One or more subitems can also be associated with each item. A "subitem" is a string that, in report view, can be displayed in a column to the right of an item's icon and label. All items in a list view control must have the same number of subitems.
249
249
250
-
Class **CListCtrl** provides several functions for inserting, deleting, finding, and modifying these items. For more information, see [CListCtrl::GetItem](#clistctrl__getitem), [CListCtrl::InsertItem](#clistctrl__insertitem), and [CListCtrl::FindItem](#clistctrl__finditem), [Using CListCtrl: Adding Items to the Control](clistctrl-class.md#not_found.md#adding_items_to_the_control), and [Using CListCtrl: Scrolling, Arranging, Sorting, and Finding in list controls](../scrolling-arranging-sorting-and-finding-in-list-controls.md).
250
+
Class **CListCtrl** provides several functions for inserting, deleting, finding, and modifying these items. For more information, see [CListCtrl::GetItem](#clistctrl__getitem), [CListCtrl::InsertItem](#clistctrl__insertitem), and [CListCtrl::FindItem](#clistctrl__finditem), [Adding Items to the Control](../adding-items-to-the-control.md), and [Scrolling, Arranging, Sorting, and Finding in list controls](../scrolling-arranging-sorting-and-finding-in-list-controls.md).
251
251
252
252
By default, the list view control is responsible for storing an item's icon and text attributes. However, in addition to these item types, class `CListCtrl` supports "callback items." A "callback item" is a list view item for which the application — rather than the control — stores the text, icon, or both. A callback mask is used to specify which item attributes (text and/or icon) are supplied by the application. If an application uses callback items, it must be able to supply the text and/or icon attributes on demand. Callback items are helpful when your application already maintains some of this information. For more information, see [Using CListCtrl: Callback Items and the Callback Mask](../callback-items-and-the-callback-mask.md).
253
253
@@ -2076,7 +2076,7 @@ BOOL GetSubItemRect(
2076
2076
- `LVIR_LABEL` Returns the bounding rectangle of the entire item, including the icon and label. This is identical to `LVIR_BOUNDS`.
2077
2077
2078
2078
`ref`
2079
-
Reference to a [CRect](crect-class.md) object that contains the coordinates of the subitem's bounding rectangle.
2079
+
Reference to a [CRect](../../atl-mfc-shared/reference/crect-class.md) object that contains the coordinates of the subitem's bounding rectangle.
2080
2080
2081
2081
### Return Value
2082
2082
Nonzero if successful; otherwise zero.
@@ -2260,7 +2260,7 @@ void GetWorkAreas(
2260
2260
The number of `RECT` structures contained in the *prc* array.
2261
2261
2262
2262
`prc`
2263
-
A pointer to an array of `RECT` structures (or [CRect](crect-class.md) objects) that receive the working areas of the list view control. Values in these structures are in client coordinates.
2263
+
A pointer to an array of `RECT` structures (or [CRect](../../atl-mfc-shared/reference/crect-class.md) objects) that receive the working areas of the list view control. Values in these structures are in client coordinates.
2264
2264
2265
2265
### Remarks
2266
2266
This member function implements the behavior of the Win32 macro, [ListView_GetWorkAreas](http://msdn.microsoft.com/library/windows/desktop/bb775024), as described in the [!INCLUDE[winSDK](./includes/winsdk_md.md)].
@@ -3131,7 +3131,7 @@ CSize SetIconSpacing(
3131
3131
A `CSize` object specifying the distance (in pixels) between icons on the x- and y-axes.
3132
3132
3133
3133
### Return Value
3134
-
A [CSize](csize-class.md) object containing the previous values for icon spacing.
3134
+
A [CSize](../../atl-mfc-shared/reference/csize-class.md) object containing the previous values for icon spacing.
3135
3135
3136
3136
### Remarks
3137
3137
This member function implements the behavior of the Win32 macro, [ListView_SetIconSpacing](http://msdn.microsoft.com/library/windows/desktop/bb775085), as described in the [!INCLUDE[winSDK](./includes/winsdk_md.md)].
@@ -3724,7 +3724,7 @@ void SetWorkAreas(
3724
3724
3725
3725
### Parameters
3726
3726
`nWorkAreas`
3727
-
The number of `RECT` structures (or [CRect](crect-class.md) objects) in the array pointed to by `lpRect`.
3727
+
The number of `RECT` structures (or [CRect](../../atl-mfc-shared/reference/crect-class.md) objects) in the array pointed to by `lpRect`.
3728
3728
3729
3729
`lpRect`
3730
3730
The address of an array of `RECT` structures (or `CRect` objects) that specify the new work areas of the list view control. These areas must be specified in client coordinates. If this parameter is **NULL**, the working area will be set to the client area of the control.
Copy file name to clipboardExpand all lines: docs/mfc/reference/cmemfile-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
@@ -79,7 +79,7 @@ class CMemFile : public CFile
79
79
80
80
You can access the memory block through the pointer supplied when you detach it from the `CMemFile` object by calling [Detach](#cmemfile__detach).
81
81
82
-
The most common use of `CMemFile` is to create a `CMemFile` object and use it by calling [CFile](../../mfc/reference/cfile-class.md) member functions. Note that creating a `CMemFile` automatically opens it: you do not call [CFile::Open](../../mfc/reference/cfile-class.md#cfile__open), which is only used for disk files. Because `CMemFile` doesn't use a disk file, the data member `CFile::m_hFile` is not used and has no meaning.
82
+
The most common use of `CMemFile` is to create a `CMemFile` object and use it by calling [CFile](../../mfc/reference/cfile-class.md) member functions. Note that creating a `CMemFile` automatically opens it: you do not call [CFile::Open](../../mfc/reference/cfile-class.md#cfile__open), which is only used for disk files. Because `CMemFile` doesn't use a disk file, the data member `CFile::m_hFile` is not used.
83
83
84
84
The `CFile` member functions [Duplicate](../../mfc/reference/cfile-class.md#cfile__duplicate), [LockRange](../../mfc/reference/cfile-class.md#cfile__lockrange), and [UnlockRange](../../mfc/reference/cfile-class.md#cfile__unlockrange) are not implemented for `CMemFile`. If you call these functions on a `CMemFile` object, you will get a [CNotSupportedException](../../mfc/reference/cnotsupportedexception-class.md).
When you select a color from the image editor palette bar or color picker, the framework calls this method to update the current drawing color. The initial drawing color is black (a `COLORREF` value of 0).
149
149
150
-
The drawing color is used by the image editor dialog box for all drawing modes except for `IMAGE_EDIT_MODE_COLOR`. For more information about drawing modes, see [CMFCImagePaintArea::IMAGE_EDIT_MODE Enumeration](../../mfc/reference/cmfcimagepaintarea-class.md#cmfcimagepaintarea__image_edit_mode%20enumeration).
150
+
The drawing color is used by the image editor dialog box for all drawing modes except for `IMAGE_EDIT_MODE_COLOR`. For more information about drawing modes, see [CMFCImagePaintArea::IMAGE_EDIT_MODE Enumeration](cmfcimagepaintarea-image-edit-mode-enumeration.md).
0 commit comments