航空透明度问题 [英] Aero Transparency Problem
问题描述
当我使用Aero界面在Visual Basic 2008/2010中开发应用程序时,窗体和组件中的文本都是透明的.是否可以解决此问题?
When I develop an application in Visual Basic 2008/2010 with the Aero interface,the text both on the form and in components are transparent.Is there a way to fix this? Thanks.
推荐答案
当我在Visual Basic中开发应用程序时具有Aero界面的2008/2010,表单和组件中的文本都是透明的.是否有解决此问题的方法?谢谢.
When I develop an application in Visual Basic 2008/2010 with the Aero interface,the text both on the form and in components are transparent.Is there a way to fix this? Thanks.
我不太确定您真正想要做什么,但是如果您尝试在非客户区域之外使用Aero Glass,则在Windows 7中有一个名为GlassForm
的特殊类,用于Win Forms,而另一个则是GlassWindow
,用于WPF. API代码包就在此处 http://code.msdn.microsoft.com/WindowsAPICodePack [
I''m not quite sure what you really want to do but If you tried to use Aero glass outside of the non-client area there''s special class called GlassForm
for Win Forms and GlassWindow
for WPF in Windows 7 API code pack right here http://code.msdn.microsoft.com/WindowsAPICodePack[^]. You could create translucent controls by deriving from this class in Win Forms instead of deriving from Form class for example but such controls are not so practical in my mind.
这篇关于航空透明度问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!