Pro_Zeck
Pro_Zeck

Reputation: 403

Giving a Window form application Transparent effect just like window 7 in c#

I know how to make the form transparent by using this: Opacity and then its value... but that make's the whole form transparent! I want my form outer body to be transparent not that application content.

For Example:

**In window 7 their is a transparent effect which user can see throught the appliction and at the same time the appliction inner contents remain Non-Transparent making the application Click Able !

Upvotes: 0

Views: 484

Answers (1)

TheCodeKing
TheCodeKing

Reputation: 19220

The effect you are after is Aero glass, which is only available since Vista, and must be enabled on the system. There is some more info here about how to control the behavour through managed code using DwmExtendFrameIntoClientArea.

http://www.thecodeking.co.uk/2007/02/windows-vista-aero-glass-in-net-managed.html

Upvotes: 1

Related Questions