?
Solved

update problem in WS_EX_TRANPARENT

Posted on 2005-04-16
5
Medium Priority
?
257 Views
Last Modified: 2012-06-21
Hi,

I am trying to create a tranparent window on top of other windows so I can draw and annotate on it. I used WS_EX_TRANSPARENT in creating the window. It works fine except when the window underneath changes (moved or repainted), the transparent window does not update itself. I have seen numerous people posting on the net saying that they have the same problem, but never got a satisfying answer. Is the answer that WS_EX_TRANSPARENT just does not work? If so, what's my other choice? Using layered window and set the alpha to 1% does not work since anything I draw on it will also show as transparent. I can also draw a transparent bitmap and the alpha value of the pixels individually, but I will still need a transparent background. Please help.

0
Comment
Question by:eschuang
  • 2
3 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 13799457
WS_EX_TRANSPARENT is most used in child windows to avoid them to paint inside other childs area. Not for frame windows.
0
 

Author Comment

by:eschuang
ID: 13802731
ok. so what do you recommand using?
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 13819445
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month15 days, 21 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question