CMFCToolBarButton::CreateFromOleData
Creates a CMFCToolBarButton object from the provided COleDataObject object.
static CMFCToolBarButton* __stdcall CreateFromOleData(
COleDataObject* pDataObject
);
Parameters
- [in] pDataObject
The source OLE data object.
Return Value
The created CMFCToolBarButton object.
Remarks
This method is used by the framework to perform data transfer in various formats. For example, the CMFCOutlookBarPane::OnDragOver method uses this method to perform drag-and-drop operations.
Requirements
Header: afxtoolbarbutton.h