Link to home
Start Free TrialLog in
Avatar of TheASD
TheASD

asked on

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
Avatar of BeyondWu
BeyondWu
Flag of United States of America image

Do you want to implement a hole in your parent window?
Can you explain it in detail and clearly?
ASKER CERTIFIED SOLUTION
Avatar of raqadi
raqadi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TheASD
TheASD

ASKER

thnx raqadi it worked and thnx for ur help BeyondWu
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.