HexEdit/GridCtrl_src/GridCtrl.cpp
BOOL CGridCtrl::OnDrop(COleDataObject* pDataObject, DROPEFFECT /*dropEffect*/,
                       CPoint /* point */)
{
    m_MouseMode = MOUSE_NOTHING;

    if (!m_bAllowDragAndDrop || !IsCellEditable(m_LastDragOverCell))
        return FALSE;

    OnDragLeave();

    return PasteTextToGrid(m_LastDragOverCell, pDataObject);
}
// Something has just been dropped onto the grid

Something has just been dropped onto the grid
Something has just been dropped onto the grid
BOOL CGridCtrl::OnDrop(COleDataObject* pDataObject, DROPEFFECT ,
                       CPoint )
{
    m_MouseMode = MOUSE_NOTHING;
    if (!m_bAllowDragAndDrop || !IsCellEditable(m_LastDragOverCell))
        return FALSE;
    OnDragLeave();
    return PasteTextToGrid(m_LastDragOverCell, pDataObject);
}
BOOL CGridCtrl :: OnDrop ( COleDataObject * pDataObject , DROPEFFECT , CPoint ) { m_MouseMode = MOUSE_NOTHING ; if ( ! m_bAllowDragAndDrop || ! IsCellEditable ( m_LastDragOverCell ) ) return FALSE ; OnDragLeave ( ) ; return PasteTextToGrid ( m_LastDragOverCell , pDataObject ) ; }
Something has just been dropped onto the grid
Something has just been dropped onto the grid
/*dropEffect*/ /* point */