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 5843879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:12:56+00:00 2026-05-22T12:12:56+00:00

I have a window with a WS_EX_LAYERED style and it has a alpha color

  • 0

I have a window with a WS_EX_LAYERED style and it has a alpha color key of magic pink (0xFF,0,0xFF).
I’m trying to draw a PNG image over that window using GDI+ and it shows shades of pink around the icon edges (where the alpha blend is applied).
Here’s an example:

http://img834.imageshack.us/img834/8241/stackoverflow.png

How can I draw the image with the real background (the one’s behind my window) alpha blend and not the color key?

Thanks for help,
Omer

  • 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-22T12:12:57+00:00Added an answer on May 22, 2026 at 12:12 pm

    Some points to check over:

    1. Have you seen the docs on MSDN?
    2. What options have you fed into your BLENDFUNCTION struct?
    3. How are you loading your .png?
    4. Does your image have an alpha channel?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a layered form with the WS_EX_LAYERED extended style set. i've created a
I have an activeX control that contains one window that has streaming video being
I have window form in my WPF Application when I open new window from
I have a window with a label as my frame. I did this because
I have a Window where I have put a Frame. I would like to
I have a window that is set with NSBorderlessWindowMask, and also kCGDesktopWindowLevel. When a
I have a window (derived from JFrame) and I want to disable the close
I have a window with 2 column grid. Left column contains a browser control
I have a window in WPF which shows some media contents. This content contains
I have a Window with my user control and I would like to make

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.