Quote:
Here's the problem with WM_CTLCOLORBTN: only the push buttons and owner-draw buttons respond to the parent window processing of the message using the brush for coloring the background. This is fairly useless because the parent window is responsible for drawing owner-draw buttons anyway.
Sorry for the pedantry but I recall having a hell of a time trying to get something to happen with WM_CTLCOLORBTN, thinking all the time it was something I was doing wrong until I read that paragraph from Petzold.