I am currently moving the application targeting WIndows XP and Server 2003 to Windows 7 (and later). Most applications work well, but some buttons have a black background in Windows 7.
Windows XP
Windows 7
The application targets .NET v2.0 in Visual Studio 2005 (as soon as the transition to Windows 7 is complete, we will move to later versions of .NET and Visual Studio). None of the available properties seem to help. Here is a list of properties that I thought might matter (the same for XP and 7):
BackColor = ActiveCaptionText
BackgroundImage = (none)
TileBackgroundImageLayout = Tile
ForeColor = ControlText
TextImageRelation = Overlay
UseVisualStyleBackColor = False (changing to True doesn't help)
What needs to be done to get buttons similar to Windows XP?
source
share