-
November 26th, 2007, 08:32 AM
#1
CListView Problem
Hi All
i have a SDI application with a CListView in report style
If i have a lot of items in my listview, say 1000+ when scrolling down through the list, by clicking on the down arrow on the VScroll
sometimes the lines and the text become distorted, i have noticed this sometimes
when there is a lot of items in a listcontrol as well
Has anyone any ideas on how to overcome this
Thanks
Simon
-
November 26th, 2007, 09:01 AM
#2
Re: CListView Problem
Do you have gridlines enabled in your listcontrol?
Are you running on XP?
-
November 26th, 2007, 09:18 AM
#3
Re: CListView Problem
Hi
Thanks for the reply
yes i am using Grid Lines
im declaring it like
ListView_SetExtendedListViewStyle (m_hWnd, LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES | LVS_EX_HEADERDRAGDROP);
and yes, i am using XP
thanks
Simon
-
November 26th, 2007, 10:21 AM
#4
Re: CListView Problem
Then I also guess that you have "smooth scrolling" enabled in XP. See section 4 "Solving the XP gridlines problem" in http://www.codeproject.com/tips/BoxOTricks.asp
-
November 26th, 2007, 10:39 AM
#5
Re: CListView Problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|