Frank
2015-01-19 13:11:36 UTC
Dear people,
I have a bitmap button:
PUSHBUTTON "Upload",IDC_UPLOAD,20,26,86,51,BS_BITMAP
in a dialog resource and set the bitmap
in the code with CButton::SetBitmap.
This works fine.
But when I disable the button with CWnd::EnableWindow,
the whole button becomes dark grey. I recall
having seen a disabled button where the
picture just had a "lighter" version
of the original picture when disabling.
What am I doing wrong?
I have a bitmap button:
PUSHBUTTON "Upload",IDC_UPLOAD,20,26,86,51,BS_BITMAP
in a dialog resource and set the bitmap
in the code with CButton::SetBitmap.
This works fine.
But when I disable the button with CWnd::EnableWindow,
the whole button becomes dark grey. I recall
having seen a disabled button where the
picture just had a "lighter" version
of the original picture when disabling.
What am I doing wrong?