开发者

Limiting the number of entries in a list control MFC

I need to limit the entries that appear in my list control since two much entries make my MFC program slow. Is there a way to show only the last fe开发者_如何学JAVAw entries (say for an example the most recent 100 entries) in a list control???

Thank You!!!


Take a look at virtual list control:

http://msdn.microsoft.com/en-us/library/ye4z8x58%28VS.80%29.aspx

http://www.codeguru.com/cpp/controls/listview/advanced/article.php/c4151


Either you:

  • don't add too many items (clear contents, only add the 100 you want in it)
  • use virtual list mode like Alex says.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜