ListBox::MoveAll

Description

Syntax

int MoveAll( ListBox & lbSource, BOOL bCopyAllAlways, int nPos )

Parameters

lbSource
bCopyAllAlways
nPos

Return

Examples

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);
}

Remark

See Also

Header to Include

Control.h