Skip to content

Instantly share code, notes, and snippets.

@cbkid
Created May 12, 2011 02:50
Show Gist options
  • Save cbkid/967847 to your computer and use it in GitHub Desktop.
Save cbkid/967847 to your computer and use it in GitHub Desktop.
listControl
m_list.InsertColumn(0, "Ux",LVCFMT_CENTER, 200);
m_list.InsertColumn( 1, "different", LVCFMT_CENTER, 200 );
for(i=0; i<m_ad.size(); i++)
{
str.Format("%lf", m_ad[i].index);
int iRow = m_list.InsertItem(i, str);
str.Format("%lf", m_ad[i].diff*100000);
m_list.SetItemText(iRow, 1, str);
//m_list.InsertItem(0, str);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment