all groups > dotnet windows forms > april 2006 >
You're in the

dotnet windows forms

group:

CheckedListBox control not displaying properly for some users


CheckedListBox control not displaying properly for some users matt.metcalf NO[at]SPAM gmail.com
4/13/2006 9:29:36 AM
dotnet windows forms: Greetings...

I have created a set of forms for an Office Add-In that use, among
other things, CheckedListBox controls. The software has been installed
by about 15 users so far, and two of the 15 are having trouble with it.
Everything else in the application works fine, but for the
CheckedListBox controls, they just see big white rectangles. The boxes
have items in them, as you can select and highlight rows in the box
appropriate to the number of items, and there will even be a scroll bar
if there are more items than would be able to fit. However, the text
does not appear, and neither do the check boxes.

One of the users discovered that, if she scrolls the scroll bar, the
text appears for the list items, but still not the check boxes. And as
soon as she selects one of the items in the list, the whole thing goes
blank again.

It seems like, for some reason, these two computers are recognizing all
of the methods and properties associated with the ListBox control
(which the CheckedListBox inherits) and processing them, but as soon as
something specific to the CheckedListBox is called the control stops
painting.

If anybody has any suggestions for what might fix this weird problem,
please help.

Thanks,

Matt Metcalf
Re: CheckedListBox control not displaying properly for some users Claes Bergefall
4/14/2006 10:17:42 AM
Sounds a bit like the McAfee bug. Try this:
http://dotnet.mvps.org/dotnet/faqs/?id=controlsmissingtextbug&lang=en

/claes

[quoted text, click to view]

Re: CheckedListBox control not displaying properly for some users matt.metcalf NO[at]SPAM gmail.com
4/19/2006 8:44:17 AM
Our PCs run Symantec antivirus, not McAfee. Does anyone have any other
suggestions?
AddThis Social Bookmark Button