OLECompleteDrag Example for C++ 5.0 and later
void COLEDragDlg::OnOLEStartDragLeadrasterview2(short Button, short Shift, long x, long y)
{
CString csBuffer;
csBuffer.Format(TEXT("LEADRasterView2: OLE Start Drag at pos X = %d and pos y = %d"), x, y);
AfxMessageBox(csBuffer);
}
void COLEDragDlg::OnOLECompleteDragLeadrasterview2(short Button, short Shift, long x, long y)
{
CString csBuffer;
csBuffer.Format(TEXT("LEADRasterView2: OLE Complete Drag at pos X = %d and pos y = %d"), x, y);
AfxMessageBox(csBuffer);
}
void COLEDragDlg::OnOLEDragOverLeadrasterview2(short Button, short Shift, long x, long y)
{
CString csBuffer;
csBuffer.Format(TEXT("LEADRasterView2: OLE Drag Over at pos X = %d and pos y = %d"), x, y);
AfxMessageBox(csBuffer);
}