Поделиться через


COleDataObject::AttachClipboard

Call this function to attach the data object that is currently on the Clipboard to the COleDataObject object.

BOOL AttachClipboard( );

Возвращаемое значение

Nonzero if successful; otherwise 0.

Заметки

ПримечаниеПримечание.

   Calling this function locks the Clipboard until this data object is released. The data object is released in the destructor for the COleDataObject. For more information, see OpenClipboard and CloseClipboard in the Win32 documention.

Требования

Header: afxole.h

См. также

Основные понятия

COleDataObject Class

COleDataObject Members

Hierarchy Chart

COleDataObject::Attach

COleDataObject::Detach

COleDataObject::Release