Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » ListView-Report View-Gridlines Collapse All
Subject Author Date
Suhai Gyorgy Jul 4, 2006 - 3:17 AM

Dear Support,

I’ve experienced some drawing problem when my list view is in report view ("Details") and I have gridlines on it. If I have a lot of items in list and I use the slider, the horizontal gridlines are not redrawn correctly. This only happens if I click the up/down arrows of the slider of if I click the part of the slider-control to make it go a whole page up or down. Everything works correctly if I drag the slider.

I’m writing to this forum because problem only happens when Prof-UIS is used. I made two small applications, they are all the same except that one is with Prof-UIS and the other without it. I’m using XP with SP2, VS 2003 and the last updated Prof-UIS v.2.55 (although I experienced the problem with previous versions as well). The sample projects are zipped in one compressed file: http://people.inf.elte.hu/puffy/ListLines.zip

Thank you,
Chris

Technical Support Jul 4, 2006 - 10:35 AM

The bug has nothing to do with Prof-UIS. The difference between two your projects is that the first uses the manifest but second not. The manifest makes the application use the Comctl32.dll file of version 6.0 and this version of Comctl32.dll has a bug. You can read more about this bug in the Microsoft Knowledge Base BUG: Gridlines for list-view control are not drawn correctly using the LVS_EX_GRIDLINES style.

Technical Support Jul 4, 2006 - 10:46 AM

We suggest you fix this problem by handling the WM_VSCROLL message and invoking the Invalidate( TRUE ) method in the handler. We can also suggest you use Prof-UIS Grid which has a much richer feature set.

Suhai Gyorgy Jul 4, 2006 - 11:30 AM

Thank you for the information!