Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Blurred edges in SS_BITMAP-Dialogelement per FillRect

0 views
Skip to first unread message

henry albrecht

unread,
Feb 12, 2019, 5:28:00 AM2/12/19
to

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

unread,
Feb 12, 2019, 11:36:07 AM2/12/19
to
it had to to with changed system-dpi


0 new messages