|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
|
| Header File
| richole.h
| Unicode
|
| Platform Notes
| None
|
|
|
IRichEditOleCallback::GetClipboardData
Allows the client to supply its own clipboard object.
HRESULT GetClipboardData(
CHARRANGE FAR * lpchrg,
|
| DWORD reco,
|
| LPDATAOBJECT FAR * lplpdataobj
|
| );
|
|
Parameters
lpchrg
Pointer to the CHARRANGE structure specifying the range the clipboard object is for.
reco
Clipboard operation flag. Can be one of these values.
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.
|
lplpdataobj
Pointer to the pointer variable that receives the address of the IDataObject implementation representing the range specified in the lpchrg parameter. The value of lppdataobj is ignored if an error is returned.
Return Values
Returns success status. If the SCODE of the return value is E_NOTIMPL, the
rich edit control creates its own clipboard object. If the SCODE of the return
value is a failure other than E_NOTIMPL the operation fails.
See Also
CHARRANGE, IDataObject, IRichEditOleCallback
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|