关于CListBox
我用的CListBox都是一行一行的插入的,本来这没有什么问题,但是如果插入的速度太快的话,界面消费的CPU很高,很浪费资源,有没有办法让CListBox一下子插入十行,十几行的但是就更新界面一次的 问题点数:30、回复次数:1Top
1 楼Mackz(在相互)回复于 2006-03-16 20:36:15 得分 30
m_List.SetRedraw(TRUE); // turn drawing back on and update the window
...//插入数据
// invalidate the entire control, force painting
m_List.Invalidate();
m_List.UpdateWindow();
Top




