Help - Search - Members - Calendar
Full Version: Images in ListView display with strange black outline
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
sohel
Hello everybody

I have a ListView in my program to which I am adding images to some of the items.
The problem is that the image is displayed with a strange black outline. The same happens if I add images to a DataGridView.

I have read elswere that adding

Application.EnableVisualStyles();

in the Main method should solve the problem, but I've tried this and it's had no effect.

I am using Visual C# 2005 Express Edition running on XP Pro SP2.

Any suggestions as to how I can get rid of this strange dark outline?

Thanks for any help!


















-----------------------------------
Formation a distance
pandy
You aren't really talking about HTML here, are you? unsure.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.