Re: Transparent child window
- From: Edward Diener <eddielee_no_spam_here@xxxxxxxxxxxxxx>
- Date: Tue, 22 Jul 2008 08:36:47 -0400
Kellie Fitton wrote:
On Jul 21, 12:37 pm, Edward Diener
<eddielee_no_spam_h...@xxxxxxxxxxxxxx> wrote:
I have a child window with a light-colored background color brush, which
I want to be transparent so that the underlying parent window shows
through the background. A layered window does not work with a child
window. Is there any way I can do this with a child window ?
Hi,
Have you tried the following Windows style to create
a transparent window:
CreateWindowEx() WS_EX_TRANSPARENT
This does not work at all. I am not painting the window but just creating it with a brush of a certain color. When I show the window, even with the WS_EX_TRANSPARENT style specified as the extended style when the window is created, the window completely obscures its parent window.
Or,
SetWindowRgn()
I do not understand how transparency is to be achieved using SetWindowRgn().
.
- References:
- Transparent child window
- From: Edward Diener
- Re: Transparent child window
- From: Kellie Fitton
- Transparent child window
- Prev by Date: missing text using PlayEnhMetaFile in IE print DC
- Next by Date: Re: Transparent child window
- Previous by thread: Re: Transparent child window
- Next by thread: Re: Transparent child window
- Index(es):
Relevant Pages
|