JensE
September 23rd, 2003, 09:51 AM
Hi everybody.
I've got a simple problem, but I still have'nt found a resolution: If I disable a bitmap button (with styles BS_PUSHBUTTON and BS_BITMAP) using EnableWindow(hHandle, false) and the bitmap is already loaded and displayed correctly, the button shows only a gray rectangle and not the appearance we know from disabled buttons in other applications (where you can still see the shape of the bitmap, its only grayed).
There seems to be no button style which can solve the problem. Has anyone an idea?
Thank you for your replies!
I've got a simple problem, but I still have'nt found a resolution: If I disable a bitmap button (with styles BS_PUSHBUTTON and BS_BITMAP) using EnableWindow(hHandle, false) and the bitmap is already loaded and displayed correctly, the button shows only a gray rectangle and not the appearance we know from disabled buttons in other applications (where you can still see the shape of the bitmap, its only grayed).
There seems to be no button style which can solve the problem. Has anyone an idea?
Thank you for your replies!