<p>Is it is possible, with <a href="http://en.wikipedia.org/wiki/Windows_Forms" rel="nofollow noreferrer">Windows Forms</a> in .NET, to change the opacity of a form without it automatically changing the opacity of the controls within the form?</p>

<p>I have a form that is running maximized, that contains a flowlayoutpanel in the centre of the form with controls inside it. I would like to lower the opacity of the form so that the "spare" part around the flowlayoutpanel is partly transparent, but the flowlayoutpanel itself remains solid (im aiming for a <a href="http://www.huddletogether.com/projects/lightbox/" rel="nofollow noreferrer">lightbox</a> style effect).</p>

Unfortunately,
```
Opacity
```
is a property of
```
Form
```
, not
```
Control
```
. The only way I can imagine this would be possible is if you custom drew the form yourself and used an alpha-component in the brush used to paint the form background.
Even then, I don't think it would work as the desktop composition manager (especially relevant on Windows Vista) needs to know how your form is supposed to be composed with the rest of the desktop, and I think the brush would only be transparent against the form background, rather than whatever is underneath it.