henry albrecht
2019-02-12 10:27:58 UTC
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
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