GetSelItems
int GetSelItems( vector<uint> & vv )
EX1
#include <..\OriginLab\DialogEx.h> // Dialog class #define IDC_LIST1 1001 void ListBox_GetSelItems(Dialog& MyDlg) { ListBox m_list1 = MyDlg.GetItem(IDC_LIST1); vector<uint> vv; int nNumsSel = m_list1.GetSelItems(vv); for( int ii = 0; ii < vv.GetSize(); ii++ ) out_int("ii = ", vv[ii]); }
Control.h