Skip to content

Latest commit

 

History

History
67 lines (54 loc) · 2.33 KB

File metadata and controls

67 lines (54 loc) · 2.33 KB
title Clipboard | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
cutting and copying data
copying data
Clipboard
Clipboard, programming
transferring data
ms.assetid a71b2824-1f14-4914-8816-54578d73ad4e
caps.latest.revision 10
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Clipboard

This family of articles explains how to implement support for the Windows Clipboard in MFC applications. The Windows Clipboard is used in two ways:

  • Implementing standard Edit menu commands, such as Cut, Copy, and Paste.

  • Implementing uniform data transfer with drag and drop (OLE).

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.

The Clipboard is a system service shared by the entire Windows session, so it does not have a handle or class of its own. You manage the Clipboard through member functions of class CWnd.

What do you want to know more about

See Also

User Interface Elements