Question Glass Effect For title bar only

Mehran

Member
Joined
Aug 18, 2021
Messages
7
Programming Experience
Beginner
How can I design the Tittle bar in Windows form Like the picture you see
Unfortunately the only link I found to solve this problem,It is written with the vb and And that it does not work in Windows 10
 

Attachments

  • rtaGlassEffect_AeroEnabled.png
    rtaGlassEffect_AeroEnabled.png
    126.8 KB · Views: 17
Did you enable the Aero Lite Theme on Windows 10 first?


All the VB code there just calls the underlying Win32 API to talk to the DWM. There's nothing inherently VB specific that would prevent you from doing the same in C#.

On closer look, apparently the code in the article is VB.NET. C# and VB.NET both compile down to the same IL, which is then compiled into native assembly by the framework.
 
Last edited:
If you read the article, you would have seen that there is program that does these steps to enable Aero Lite, so the answer is yes, it can be done by programming.
 
Back
Top Bottom