CheckListBox Paints Poorly With Horizontal Scrollbar
Posted on 2007-09-30
I've tried a couple different ways to add a horizontal scrollbar with a checklistbox, and while they sort of work, all the approaches have the effect of "erasing" the checks in each checkbox when the horizontal scrollbar is used.
To be more precise, the checks are still in the boxes, they're just poorly repainted when the scrollbar is moved back to the left. Scrolling up or down repaints the checks, as does using the arrow keys to move the list.
I'd like my program to look as professional as possible, any suggestions?
It might also help to know that I'm using Delphi 2005, Windows XP SP2 and XPManifest.