Skip to content

Commit 5623403

Browse files
author
Colin Robertson
authored
Merge OLE drag and drop articles, 1748 (#2668)
* Merge OLE drag and drop articles, 1748 * Tweak language * Update per review
1 parent afa33d6 commit 5623403

17 files changed

+101
-143
lines changed

.openpublishing.redirection.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7535,6 +7535,21 @@
75357535
"redirect_url": "/cpp/mfc/reference/mfc-add-class-wizard",
75367536
"redirect_document_id": false
75377537
},
7538+
{
7539+
"source_path": "docs/mfc/drag-and-drop-customizing.md",
7540+
"redirect_url": "/cpp/mfc/drag-and-drop-ole#customize-drag-and-drop",
7541+
"redirect_document_id": false
7542+
},
7543+
{
7544+
"source_path": "docs/mfc/drag-and-drop-implementing-a-drop-source.md",
7545+
"redirect_url": "/cpp/mfc/drag-and-drop-ole#implement-a-drop-source",
7546+
"redirect_document_id": false
7547+
},
7548+
{
7549+
"source_path": "docs/mfc/drag-and-drop-implementing-a-drop-target.md",
7550+
"redirect_url": "/cpp/mfc/drag-and-drop-ole#implement-a-drop-target",
7551+
"redirect_document_id": false
7552+
},
75387553
{
75397554
"source_path": "docs/mfc/automatic-linking-of-mfc-library-version.md",
75407555
"redirect_url": "/cpp/mfc/mfc-library-versions",

docs/mfc/clipboard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This family of articles explains how to implement support for the Windows Clipbo
1010

1111
- Implementing standard Edit menu commands, such as Cut, Copy, and Paste.
1212

13-
- Implementing uniform data transfer with drag and drop (OLE).
13+
- Implementing uniform data transfer with OLE drag and drop.
1414

1515
The Clipboard is the standard Windows method of transferring data between a source and a destination. It can also be very useful in OLE operations. With the advent of OLE, there are two Clipboard mechanisms in Windows. The standard Windows Clipboard API is still available, but it has been supplemented with the OLE data transfer mechanism. OLE uniform data transfer (UDT) supports Cut, Copy, and Paste with the Clipboard and drag and drop.
1616

@@ -30,7 +30,7 @@ The Clipboard is a system service shared by the entire Windows session, so it do
3030

3131
- [The Windows Clipboard](/windows/win32/dataxchg/clipboard)
3232

33-
- [Implementing drag and drop (OLE)](../mfc/drag-and-drop-ole.md)
33+
- [OLE drag and drop](../mfc/drag-and-drop-ole.md)
3434

3535
## See also
3636

docs/mfc/containers-implementing-a-container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ You may also want to support some of the following features in your container ap
4848

4949
- Creation of OLE items by dragging and dropping a selection from a server application.
5050

51-
For more information, see [Drag and Drop (OLE)](../mfc/drag-and-drop-ole.md).
51+
For more information, see [OLE drag and drop](../mfc/drag-and-drop-ole.md).
5252

5353
- Links to embedded objects or combination container/server applications.
5454

docs/mfc/data-objects-and-data-sources-creation-and-destruction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Data sources are created when an application needs to copy data to the Clipboard
5252

5353
This scenario is implemented by the MFC OLE samples [OCLIENT](../overview/visual-cpp-samples.md) and [HIERSVR](../overview/visual-cpp-samples.md). Look at the source for each application's `CView`-derived class for all but the `GetClipboardData` and `OnGetClipboardData` functions. These two functions are in either the `COleClientItem` or `COleServerItem`-derived class implementations. These sample programs provide a good example of how to implement these concepts.
5454

55-
One other situation in which you might want to create a `COleDataSource` object occurs if you are modifying the default behavior of a drag-and-drop operation. For more information, see the [Drag and Drop: Customizing](../mfc/drag-and-drop-customizing.md) article.
55+
One other situation in which you might want to create a `COleDataSource` object occurs if you are modifying the default behavior of a drag-and-drop operation. For more information, see the [OLE Drag and drop: Customize drag and drop](../mfc/drag-and-drop-ole.md#customize-drag-and-drop) article.
5656

5757
## <a name="_core_destroying_data_sources"></a> Destroying Data Sources
5858

docs/mfc/drag-and-drop-customizing.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

docs/mfc/drag-and-drop-implementing-a-drop-source.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

docs/mfc/drag-and-drop-implementing-a-drop-target.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)