开发者

How to create this borderstyle WinForms

开发者 https://www.devze.com 2023-04-11 14:06 出处:网络
How to create Fo开发者_JAVA技巧rmBorderStyle with transparency like here: Thanks!That is part of the OS. It is called Aero.If the graphics card isnt capable of running Aero, then you won\'t get that

How to create Fo开发者_JAVA技巧rmBorderStyle with transparency like here:

How to create this borderstyle WinForms

Thanks!


That is part of the OS. It is called Aero. If the graphics card isnt capable of running Aero, then you won't get that style of window. Another thing to note is that your application will look different on Windows XP, compared to Vista and Windows 7.


You can have Aero theme + transparency on Windows XP too - Adam Nathan's book on WPF explains it in good detail, a quick search for Aero Theme on XP pointed to this blog post.

How to create this borderstyle WinForms


You probably have to use the Windows API for that. http://msdn.microsoft.com/en-us/magazine/cc163435.aspx explains that you need to use DWM. Here is some more code for it http://www.codeproject.com/KB/vista/AeroGlassForms.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号