Let Clistbox have drag and drop function
1. Add a member variable to the CListBox control:
Name: m_draglist; category: control; type: clistbox; 2. Modify the properties of the CListBox control to remove the "sort" attribute in the "style" page, and ensure that it is radio.
3. Modify the code: In the statement of the class, modify: clistbox m_draglist; is CDRAGLISTBOX M_DRAGLIST;
Since then, Clistbox has drag and drop.