Solved

transparent child window on a desktop window

Posted on 2001-08-16
4
458 Views
Last Modified: 2013-11-20
dear VC++ programmers
i have a window created on the desktop. this window includes a child window with a transparent property, i need to display the desktop window as background when the child window is transparent.
but the result of my work is that the child window pentrates its parent and shows what's beyond the parent window
0
Comment
Question by:TheASD
  • 2
4 Comments
 
LVL 9

Expert Comment

by:BeyondWu
ID: 6404841
Do you want to implement a hole in your parent window?
Can you explain it in detail and clearly?
0
 

Accepted Solution

by:
raqadi earned 200 total points
ID: 6405911
I think that you create the parent window with CLIPCHILDREN style, this style will prevent the parent from repainting the areas occupied by the child windows, try to remove this style, and good luck.
0
 

Author Comment

by:TheASD
ID: 6405923
thnx raqadi it worked and thnx for ur help BeyondWu
0
 

Expert Comment

by:raqadi
ID: 6405928
I think that you create the parent window with CLIPCHILDREN style, this style will prevent the parent from repainting the areas occupied by the child windows, try to remove this style, and good luck.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

827 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