MFCDRAG shows how to implement drag and drop between a CListCtrl and CTreeCtrl
SUMMARY
MFCDRAG shows how to implement drag and drop between a CListCtrl and CTreeCtrl. The program creates a splitter window containing four panes. Two panes contain CListCtrls and the other two contain CTreeCtrls. You can drag an item from any window to another. For example, dragging can occur between the following panes:
CListCtrl to CTreeCtrl
CListCtrl to CListCtrl
CTreeCtrl to CListCtrl
CTreeCtrl to CTreeCtrl