Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2006

Tip: Looking for answers? Try searching our database.

Listview flickering and performance

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James - 21 Jun 2006 13:45 GMT
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
Peter Ritchie - 21 Jun 2006 16:32 GMT
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.

Signature

http://www.peterRitchie.com/

> Hi all,
>    I have made a derived Listview which can accept the controls as
[quoted text clipped - 16 lines]
> Thanks
> James

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.