Re: Transparent child window



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

Or,

SetWindowRgn()

http://msdn.microsoft.com/en-us/library/ms632680(VS.85).aspx

http://msdn.microsoft.com/en-us/library/ms534845(VS.85).aspx

Kellie.

.



Relevant Pages

  • Re: HPEN and Rectangle() on Contantly refeshing window object
    ... Indeed I cannot get to the video rendering at this time (although in the ... this idea about creating a transparent window (as opposed to the ... able to draw a rubberbanded rectangle around an area within this screen. ...
    (microsoft.public.vc.mfc)
  • Problem with Shaped Windows Forms
    ... Visual Studio has a doc that explains how to create a shaped window. ... I followed the doc exactly yet the purple color that I choose as my ... background of my form will not show as transparent. ... This property sets the bitmap image to be the background of the form. ...
    (microsoft.public.dotnet.faqs)
  • Re: Transparent GIF Images, Button Colors
    ... I was describing transparency issues. ... window styles that CE imposes. ... these "stuck" styles is that the window underneath ... the transparent part doesn't get repainted in the ...
    (microsoft.public.pocketpc.developer)
  • Re: spaceships, terminology, windows
    ... The join between opaque metal and transparent metal ... thick the hull is. ... thick you're not going to get as high resolution as with a decent video ... It's not practical to have a window for looking at eyeball-visible ...
    (rec.arts.sf.composition)
  • Re: Help with VW Event Handling
    ... I was wrong about the lastControlObject being set to a widget from ... for my transparent window and got something running. ... active controller and not generating duplicate ...
    (comp.lang.smalltalk)