Description: Two ways to achieve the ListBox drag and drop
1, without going through OLE, drag a control entry
Through the OLE drag and drop entries in the ListBox control
To Search:
File list (Check if you may need any files):
DragAndDropListTemp\DragAndDropListTemp.sln
...................\DragAndDropListTemp.suo
...................\NormalDragDropListBox\DragAndDropListBox.cpp
...................\.....................\DragAndDropListBox.h
...................\.....................\DragDropListBoxSample.aps
...................\.....................\DragDropListBoxSample.cpp
...................\.....................\DragDropListBoxSample.h
...................\.....................\DragDropListBoxSample.rc
...................\.....................\DragDropListBoxSample.vcproj
...................\.....................\DragDropListBoxSample.vcproj.KISS-YOU.Administrator.user
...................\.....................\DragDropListBoxSampleDlg.cpp
...................\.....................\DragDropListBoxSampleDlg.h
...................\.....................\ReadMe.txt
...................\.....................\res\DragDropListBoxSample.ico
...................\.....................\...\DragDropListBoxSample.rc2
...................\.....................\resource.h
...................\.....................\stdafx.cpp
...................\.....................\stdafx.h
...................\OLEDragAndDropListBox\ListBoxOLEDragAndDropSample.aps
...................\.....................\ListBoxOLEDragAndDropSample.cpp
...................\.....................\ListBoxOLEDragAndDropSample.h
...................\.....................\ListBoxOLEDragAndDropSample.rc
...................\.....................\ListBoxOLEDragAndDropSample.vcproj
...................\.....................\ListBoxOLEDragAndDropSample.vcproj.KISS-YOU.Administrator.user
...................\.....................\ListBoxOLEDragAndDropSampleDlg.cpp
...................\.....................\ListBoxOLEDragAndDropSampleDlg.h
...................\.....................\OLEDragAndDropListBox.cpp
...................\.....................\OLEDragAndDropListBox.h
...................\.....................\ReadMe.txt
...................\.....................\res\ListBoxOLEDragAndDropSample.ico
...................\.....................\...\ListBoxOLEDragAndDropSample.rc2
...................\.....................\resource.h
...................\.....................\stdafx.cpp
...................\.....................\stdafx.h
...................\NormalDragDropListBox\Debug
...................\.....................\res
...................\OLEDragAndDropListBox\Debug
...................\.....................\res
...................\NormalDragDropListBox
...................\OLEDragAndDropListBox
DragAndDropListTemp