Skip to content

Commit d26b374

Browse files
author
Michael Blome
committed
link fixes in mfc
1 parent 347e7bf commit d26b374

32 files changed

+68
-70
lines changed

docs/data/changes-you-might-make-to-the-default-code-mfc-data-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The [MFC Application Wizard](../mfc/reference/database-support-mfc-application-w
3939

4040
- 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)
4141

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).
4343

4444
## See Also
4545
[Using a Record View](../data/using-a-record-view-mfc-data-access.md)

docs/data/filling-a-list-box-from-a-second-recordset-mfc-data-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ By default, a record view is associated with a single recordset object, whose fi
5858

5959
3. Empty the combo box of any previous contents.
6060

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.
6262

6363
5. Initialize the selection in the combo box.
6464

docs/mfc/dynamic-layout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ With MFC in [!INCLUDE[vs_dev14](../ide/includes/vs_dev14_md.md)], you can create
7979
8080
```
8181

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.
8383

8484
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.
8585

@@ -88,7 +88,7 @@ With MFC in [!INCLUDE[vs_dev14](../ide/includes/vs_dev14_md.md)], you can create
8888
8989
```
9090

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:
9292

9393
```
9494
SizeSettings sizeSettings = CMFCDynamicLayout::SizeNone();

docs/mfc/mfc-and-atl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ The Microsoft Foundation Classes (MFC) provide a C++ object-oriented wrapper ove
4444
|[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++.|
4545
|[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.|
4646
|[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.|

docs/mfc/reference/bitmap-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ typedef struct tagBITMAP { /* bm */
103103

104104
## See Also
105105
[Structures, Styles, Callbacks, and Message Maps](../../mfc/reference/structures-styles-callbacks-and-message-maps.md)
106-
[CBitmap::CreateBitmapIndirect](../../mfc/reference/cbitmap-class.md#cbitmap__createbitmapindirect.md)
106+
[CBitmap::CreateBitmapIndirect](../../mfc/reference/cbitmap-class.md#cbitmap__createbitmapindirect)

docs/mfc/reference/cdaoworkspace-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ static void PASCAL SetDefaultUser(LPCTSTR lpszDefaultUser);
722722

723723
### Parameters
724724
`lpszDefaultUser`
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), &#124; (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), &#124; (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.
726726

727727
### Remarks
728728
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.

docs/mfc/reference/clistctrl-class.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ class CListCtrl : public CWnd
247247
## Items and Subitems
248248
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.
249249

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).
251251

252252
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).
253253

@@ -2076,7 +2076,7 @@ BOOL GetSubItemRect(
20762076
- `LVIR_LABEL` Returns the bounding rectangle of the entire item, including the icon and label. This is identical to `LVIR_BOUNDS`.
20772077
20782078
`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.
20802080
20812081
### Return Value
20822082
Nonzero if successful; otherwise zero.
@@ -2260,7 +2260,7 @@ void GetWorkAreas(
22602260
The number of `RECT` structures contained in the *prc* array.
22612261
22622262
`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.
22642264
22652265
### Remarks
22662266
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(
31313131
A `CSize` object specifying the distance (in pixels) between icons on the x- and y-axes.
31323132

31333133
### 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.
31353135

31363136
### Remarks
31373137
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(
37243724
37253725
### Parameters
37263726
`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`.
37283728
37293729
`lpRect`
37303730
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.
@@ -3969,7 +3969,7 @@ BOOL Update(int nItem);
39693969

39703970
## See Also
39713971
[MFC Sample ROWLIST](../../top/visual-cpp-samples.md)
3972-
[CWnd Class](..cwnd-class.md)
3972+
[CWnd Class](cwnd-class.md)
39733973
[Hierarchy Chart](../hierarchy-chart.md)
39743974
[CImageList Class](cimagelist-class.md)
39753975

docs/mfc/reference/cmemfile-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class CMemFile : public CFile
7979

8080
You can access the memory block through the pointer supplied when you detach it from the `CMemFile` object by calling [Detach](#cmemfile__detach).
8181

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.
8383

8484
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).
8585

docs/mfc/reference/cmfcimagepaintarea-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ IMAGE_EDIT_MODE GetMode() const;
111111
```
112112

113113
### Return Value
114-
An `IMAGE_EDIT_MODE` value that specifies the current drawing mode.
114+
An [IMAGE_EDIT_MODE](cmfcimagepaintarea-image-edit-mode-enumeration.md) value that specifies the current drawing mode.
115115

116116
## <a name="cmfcimagepaintarea__setbitmap"></a> CMFCImagePaintArea::SetBitmap
117117
Sets the bitmap image for the picture area.
@@ -147,7 +147,7 @@ void SetColor(COLORREF color);
147147
### Remarks
148148
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).
149149

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).
151151

152152
## <a name="cmfcimagepaintarea__setmode"></a> CMFCImagePaintArea::SetMode
153153
Sets the current drawing mode.
@@ -161,7 +161,7 @@ void SetMode(IMAGE_EDIT_MODE mode);
161161
|||
162162
|-|-|
163163
|Parameter|Description|
164-
|[in] `mode`|An `IMAGE_EDIT_MODE` value that specifies the current drawing mode.|
164+
|[in] `mode`|An [IMAGE_EDIT_MODE](cmfcimagepaintarea-image-edit-mode-enumeration.md) value that specifies the current drawing mode.|
165165

166166
## See Also
167167
[Hierarchy Chart](../../mfc/hierarchy-chart.md)

docs/mfc/reference/cmfctoolbarmenubutton-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class CMFCToolBarMenuButton : public CMFCToolBarButton
119119
[!code-cpp[NVC_MFC_WordPad#10](../../mfc/reference/codesnippet/cpp/cmfctoolbarmenubutton-class_1.cpp)]
120120

121121
## Inheritance Hierarchy
122-
[CObject](.cobject-class.md)
122+
[CObject](cobject-class.md)
123123

124124
[CMFCToolBarButton](../../mfc/reference/cmfctoolbarbutton-class.md)
125125

0 commit comments

Comments
 (0)