Solved

transparent child window on a desktop window

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 93
C++ BOOL WINAPI ReadFile fails on windows 10 when reading from USB cable 9 423
sum13 challenge 24 105
Use of condition with 'serial' in ansible 2 58
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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now