G g622 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-24 #1 哪位大虾给个vc中向一个列表添加大量数据,然后再unlock canvas的例子?
S springson Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-22 #2 你的問題有點麻煩,列表加數據,和鎖定canvas沒有必然的聯系。要不再說清楚點。
A amli Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-23 #3 void CTestDlg::OnButton1() { m_ListBox.LockWindowUpdate(); CString str; for (int i = 0; i <= 10000; i++){ str.Format("%d", i); m_ListBox.AddString(str); } m_ListBox.UnlockWindowUpdate(); }
void CTestDlg::OnButton1() { m_ListBox.LockWindowUpdate(); CString str; for (int i = 0; i <= 10000; i++){ str.Format("%d", i); m_ListBox.AddString(str); } m_ListBox.UnlockWindowUpdate(); }