Discussion:
Blurred edges in SS_BITMAP-Dialogelement per FillRect
(too old to reply)
henry albrecht
2019-02-12 10:27:58 UTC
Permalink
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
henry albrecht
2019-02-12 16:36:06 UTC
Permalink
it had to to with changed system-dpi

Loading...