CMFCToolBarImages::SetDisabledImageAlpha
Sets the alpha channel (opacity) value that is used for disabled images.
static void SetDisabledImageAlpha(
BYTE nValue
);
Parameters
- [in] nValue
The new value of the alpha channel.
Remarks
Use this method to set a custom alpha value for disabled images. The default value is 127, which causes disabled button images to be semitransparent. If you set a value of 0, disabled images will be completely transparent. If you set a value of 255, disabled images will be completely opaque.
Requirements
Header: afxtoolbarimages.h