Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: henry albrecht Newsgroups: comp.os.ms-windows.programmer.misc Subject: Blurred edges in SS_BITMAP-Dialogelement per FillRect Date: Tue, 12 Feb 2019 11:27:58 +0100 Organization: A noiseless patient Spider Lines: 17 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Tue, 12 Feb 2019 10:27:59 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="3f18325e52e3e6a25cbc344bf49b7c65"; logging-data="24352"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hVoh+dF2PI+7+IDjVYJH04c4a5RB5mkA=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cancel-Lock: sha1:fbMarGtazBIQx4hOV0QwG8wxpKo= Content-Language: de-DE X-Mozilla-News-Host: news://reader80.eternal-september.org:119 Xref: csiph.com comp.os.ms-windows.programmer.misc:44 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