Groups | Search | Server Info | Login | Register


Groups > comp.os.ms-windows.programmer.misc > #44

Blurred edges in SS_BITMAP-Dialogelement per FillRect

From henry albrecht <ha@gmx.de>
Newsgroups comp.os.ms-windows.programmer.misc
Subject Blurred edges in SS_BITMAP-Dialogelement per FillRect
Date 2019-02-12 11:27 +0100
Organization A noiseless patient Spider
Message-ID <q3u73f$np0$1@dont-email.me> (permalink)

Show all headers | View raw


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

Back to comp.os.ms-windows.programmer.misc | Previous | NextNext in thread | Find similar


Thread

Blurred edges in SS_BITMAP-Dialogelement per FillRect henry albrecht <ha@gmx.de> - 2019-02-12 11:27 +0100
  solved: (was:Re: Blurred edges in SS_BITMAP-Dialogelement per FillRect) henry albrecht <ha@gmx.de> - 2019-02-12 17:36 +0100

csiph-web