Hi,
I got a problem. When I tried to read a database which contains a huge list of columns, the CListBox flickers during loading. How can I eliminate this effect?
for (int h = 0; h < columnnames.size(); h++)
{
if ((colNames == "Integer"
|| (colNames =="String"
)
{ myColumns.Format(_T("%s\t%s"
, columnnames[h].GetBuffer(), colNames.GetBuffer()); }
m_ctrlCheckListBox.AddString( myColumns );
m_ctrlCheckListBox.SetCurSel(0);
m_ctrlCheckListBox.SetCheck(h,1);
}
thanks!
I got a problem. When I tried to read a database which contains a huge list of columns, the CListBox flickers during loading. How can I eliminate this effect?
for (int h = 0; h < columnnames.size(); h++)
{
if ((colNames == "Integer"
{ myColumns.Format(_T("%s\t%s"
m_ctrlCheckListBox.AddString( myColumns );
m_ctrlCheckListBox.SetCurSel(0);
m_ctrlCheckListBox.SetCheck(h,1);
}
thanks!