let consider you array if of type char*
char str[][]={"code","project","is","great"};
// now let IDC_LIST1 is id of your list box
CListBox *m_lst=(CListBox*)GetDlgItem(IDC_LIST1);
//Check is we got valid pointer
if(m_lst)
{
///add the values in list box
for(int i=0;i<4;i++)
{
//add string to list box
m_lst->AddString(str[i]);
}
}
"I Think this Will Help" [Vote One Here,.....]
visit me at http://www.thisisalok.tk