transparent child window on a desktop window

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
TheASDAsked:
Who is Participating?
 
raqadiConnect With a Mentor Commented:
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
 
BeyondWuCommented:
Do you want to implement a hole in your parent window?
Can you explain it in detail and clearly?
0
 
TheASDAuthor Commented:
thnx raqadi it worked and thnx for ur help BeyondWu
0
 
raqadiCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.