Bitmap buttons not showing correctly when disabling the buttons


This article describes what to do if your bitmap buttons show poorly when disabling them.


You have a program with bitmap buttons that display as expected, but they display poorly when disabling them.


When you disable a button, Windows will turn most of the colored area of the bitmap gray. A clearly defined button with clear cut lines and colors will turn into gray nicely. However, if you have lots of loose points that define colors and depth you risk having a very big gray area without form. In this case, clean the bitmap and define a clear form with a straight outside color. Additionally, you can read and apply the principles found in the ACUCOBOL-GT User Interface Programming manual, chapter 3, section 3.7.1 Drawing the Image.

Incident Number: 2263605

Old KB# 14425
Comment List