Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6331575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:05:45+00:00 2026-05-24T18:05:45+00:00

I created a Transparent Layered window with a color key that I use to

  • 0

I created a Transparent Layered window with a color key that I use to make the window transparent.
So far it works all fine.
Writing text on it – using GDI+ – works, too…

The problem I encounter is, that the text has a thin border of the colorkey-color around the letters…

What I do in the WM_PAINT is:

1. Clear the drawing area Graphics::Clear(ColorKey);
2. Draw the text on it.

Screenshot of what i mean: http://imageshack.us/photo/my-images/709/cutp.jpg/

Anyone knows about how to avoid this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:05:47+00:00Added an answer on May 24, 2026 at 6:05 pm

    Try calling Graphics::SetTextRenderingHint(TextRenderingHintSingleBitPerPixelGridFit).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created this class, and it works perfectly for make my WPF application transparent
I've created a semi-transparent form (60% opacity with black background color) that my app
i have created a transparent modal view and it works fine. What i wanted
I want to create a c# application with multiple windows that are all transparent
I have created QLabel *msgLbl . How do I make the msgLbl background semi-transparent?
I have created a non standard shaped window with the WindowStyle=None AllowsTransparency=True Background=Transparent approach.
I created a view and viewmodel that I would like to use twice (or
I have a CCSprite that was created from a png with transparent background. I
I have a transparent BufferedImage created with the following code(not relevant how it is
Can someone give me some example code that creates a surface with a transparent

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.