JensE
November 15th, 2003, 02:16 PM
I posted this before, but no one could help me. :(
To make it short: If a bitmap button is disabled, instead of the bitmap, a gray rectangle shows up. Where is the embossed image we all know from disabled buttons in other applications, for example MS word?
There MUST be a way to do this without using ownerdrawn buttons!
What about the DrawState() function? But if I want to use it, I must check for the button beeing disabled.
It seems that a corresponding message isn't supported by windows by now, BN_DISABLED is obsolete and interferes with other messages.
So what message do I have to use?
If only ownerdrawing is the solution, then, do you know good tutorials for ownerdrawing BITMAP buttons (including disabled drawing) in pure WinAPI?
Thank you for your help! :)
To make it short: If a bitmap button is disabled, instead of the bitmap, a gray rectangle shows up. Where is the embossed image we all know from disabled buttons in other applications, for example MS word?
There MUST be a way to do this without using ownerdrawn buttons!
What about the DrawState() function? But if I want to use it, I must check for the button beeing disabled.
It seems that a corresponding message isn't supported by windows by now, BN_DISABLED is obsolete and interferes with other messages.
So what message do I have to use?
If only ownerdrawing is the solution, then, do you know good tutorials for ownerdrawing BITMAP buttons (including disabled drawing) in pure WinAPI?
Thank you for your help! :)