Let Clistbox have drag and drop function

zhaozj2021-02-11  201

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.

转载请注明原文地址:https://www.9cbs.com/read-5948.html

New Post(0)