They're not really related at all. BeginUpdate and EndUpdate tell the
ListView that you are adding a number of items and not to make changes
until all are done, kinda like a transaction.
The ListViewXP code enables double-buffering to remove the flicker.
The flicker is not related to adding/removing item but happens
whenever you resuze the listview or change it's attributes, even
without adding and removing items.
HTH,
Sam
On Sat, 18 Dec 2004 08:51:45 -0500, "Greg Burns"
<greg_burns@DONT_SPAM_ME_hotmail.com> wrote:
What does ListViewXP do that using .BeginUpdate and .EndUpdate don't take
care of already?
Greg
"Samuel R. Neff" <bl****@newsgroup.nospam> wrote in message
news:7g********************************@4ax.com.. .
How can you detect the version of windows common controls installed at
run-time? I want to implement the ListViewXP (flicker-free) but still
need to support non-XP computers (which will have flicker).
http://www.codeproject.com/cs/miscctrl/listviewxp.asp
Thanks,
Sam