List Control Data Capacity
-
Hi All I am using ListControl for my application in Report View. Can Any One have idea of maximum number of datas that can be viewable in list control. Regards Ganesh.P
More than enough I would say. If not, you need to change you're UI design. Anyway that will also depend on how many columns you're going to have. The index is stored as an integer. So you definitely cannot store more items than the capacity of an integer variable. -- Modified Sunday, February 21, 2010 11:48 PM
-
Hi All I am using ListControl for my application in Report View. Can Any One have idea of maximum number of datas that can be viewable in list control. Regards Ganesh.P
If we look at the MSDN details of LVM_INSERTITEM message, the item index is a zero-based integer value. So, I guess List control is designed to support up to INT_MAX + 1 items.
-
Hi All I am using ListControl for my application in Report View. Can Any One have idea of maximum number of datas that can be viewable in list control. Regards Ganesh.P
You may insert many, many items (i.e. millions?) in a list view. However you'll quicky find that flooding the list view will slow down the UI to unacceptable levels (and will make you consider using the Virtual List-View Style]. Why don't you perform a test? :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Hi All I am using ListControl for my application in Report View. Can Any One have idea of maximum number of datas that can be viewable in list control. Regards Ganesh.P
hellogany wrote:
Can Any One have idea of maximum number of datas that can be viewable in list control.
That's governed by the height of the control.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius