MoveAll
int MoveAll( ListBox & lbSource, BOOL bCopyAllAlways, int nPos )
EX1
#include <..\OriginLab\DialogEx.h> // Dialog class #define IDC_LIST1 1001 #define IDC_LIST2 1101 void ListBox_MoveAll(Dialog& MyDlg) { ListBox list1 = MyDlg.GetItem(IDC_LIST1); ListBox list2 = MyDlg.GetItem(IDC_LIST2); int nNumItems = list1.MoveAll(list2, TRUE, 0); }
Control.h