Solved

transparent child window on a desktop window

Posted on 2001-08-16
4
460 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

749 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