Retrieves a clipboard object for a range in an edit control.
HRESULT GetClipboardData(
CHARRANGE FAR *lpchrg,
DWORD reco,
LPDATAOBJECT FAR *lplpdataobj
);
RECO_COPY | Copy to the clipboard. |
RECO_CUT | Cut to the clipboard. |
RECO_DRAG | Drag operation (drag and drop) |
RECO_DROP | Drop operation (drag and drop). |
RECO_PASTE | Paste from the clipboard. |
Returns success status.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richole.h.
Rich Edit Controls Overview, Rich Edit OLE Interfaces, CHARRANGE, IRichEditOle