HighTechTalks DotNet Forums  

Listview flickering and performance

Dotnet Framework microsoft.public.dotnet.framework


Discuss Listview flickering and performance in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
James
 
Posts: n/a

Default Listview flickering and performance - 06-21-2006 , 08:45 AM






Hi all,
I have made a derived Listview which can accept the controls as
items in it. Controls that we are using are Buttons in each row and
implemented Grouping with the help of controls(label on panel) . Coz
Inbuilt listview Grouping not supported in OS like window 98.

Although I had used Double buffering (
SetStyle(ControlStyles.DoubleBuffer, true); .. in my Listview) but
still the listview flickers much when we scroll its items. And as
the number of items reaches nearly equal to 18, the performance again
degrades analogically and starts flickering at high level.

I have to made a list view can accept nearlly 100 items as rows
efficiently and without flickering.

if anybody have any views / ideas to sort out this problem will be
appreciated.

Thanks
James


Reply With Quote
  #2  
Old   
Peter Ritchie
 
Posts: n/a

Default RE: Listview flickering and performance - 06-21-2006 , 11:32 AM






Each control will have it's own overhead of drawing. You might be able to
improve performance slightly by clipping the ListViews drawing area to not
draw the areas covered by other controls. But, that would be extremely
complicated and could be slower than doing nothing--depending on how it is
written.

If you want controls on your list view you're pretty much stuck with having
a slower repaint to handle all those controls.

--
http://www.peterRitchie.com/


"James" wrote:

Quote:
Hi all,
I have made a derived Listview which can accept the controls as
items in it. Controls that we are using are Buttons in each row and
implemented Grouping with the help of controls(label on panel) . Coz
Inbuilt listview Grouping not supported in OS like window 98.

Although I had used Double buffering (
SetStyle(ControlStyles.DoubleBuffer, true); .. in my Listview) but
still the listview flickers much when we scroll its items. And as
the number of items reaches nearly equal to 18, the performance again
degrades analogically and starts flickering at high level.

I have to made a list view can accept nearlly 100 items as rows
efficiently and without flickering.

if anybody have any views / ideas to sort out this problem will be
appreciated.

Thanks
James



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.