views:

164

answers:

1

I'd successfully made a normal Form Transparent by handling the OPACITY property.

Now, I want to make an MDIChild (loaded in an MDIParent) transparent. Is that possible? I'd applied the same technique (mentioned above) for the MDIChild. But, was unsucessful.

Is it possible to make the MDIChild tranparent. Does anyone had done that before?

Any hekp will be appreciated. Thanks.

A: 

No. MDI child forms do not support transparency.

volody
Is there any hacking techniques, so that I can simulate the same.What about injecting an umanaged code? does that could do some job?
abhilashca
No hacks, the Windows API simply doesn't support it. Only TopLevel windows like the MDI parent can have the TransparencyKey or Opacity property set.
Hans Passant
I've gone through 2 threads in MSDN. a) http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/30e73869-58cb-4f01-b539-174ce2ad8e0fb)http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/954ff6f4-88d2-4b6b-ac10-dcf0b94627e1 which talks about MDI transparency. Any idea? Thanks.
abhilashca
can this be achieved using WPF?
abhilashca
Yes, you can do that. Take a look at http://wpfmdi.codeplex.com/
volody