Blurred edges in SS_BITMAP-Dialogelement per FillRect
From henry albrecht@21:1/5 to All on Tue Feb 12 11:27:58 2019
Hi
I have the problem, that the edges in an bitmap-element in a dialog,
that I created by "SS_BITMAP" are drawn blurred. Like somewhat
"antialiasing" took place.
But I want the edges be drawn sharp.
Do someone have an Idea ?
Here in short-form my approach:
1. The Devicecontext of the "SS_BITMAP"-Element I get by GetDC
2. The needed Brush I create with CreateSolidBrush
3. And finally I draw with FillRect