Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the global clipboard format for the application.
static CLIPFORMAT __stdcall GetClipboardFormat();
Return Value
The global CLIPFORMAT value for the application.
Remarks
The framework calls this method to retrieve the clipboard format for OLE data transfer operations. For example, the CMFCToolBarButton::CreateFromOleData method uses this method to copy data from a source OLE data object.
This method sets the global CLIPFORMAT value the first time this method is called. All subsequent calls to this method return this value.
To allow drag-and-drop operations to occur between applications, call the CMFCToolBarButton::SetClipboardFormatName method.
For more information about clipboards in MFC, see Clipboard.
Requirements
Header: afxtoolbarbutton.h
See Also
Reference
CMFCToolBarButton::CreateFromOleData
CMFCToolBarButton::SetClipboardFormatName