自定义形状的窗口窗体和透明键问题 [英] custom shaped windows form and transparencykey problem

查看:88
本文介绍了自定义形状的窗口窗体和透明键问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,
我制作了一些Windows应用程序,试图在这些应用程序中使用非矩形形式,因此我尝试完全按照MSDN在Visual Studio .NET中成形的Windows窗体和控件
但是,当我在某些操作系统为Windows XP [sp2或1]的目标计算机上测试我的应用程序发行版时,这些区域的颜色与为我的表单的透明键属性选择的颜色相同,但这些区域不是透明的,他们正在向用户展示,并相信我让我的入门表格变得非常讨厌...我试图安装与我在目标计算机上开发应用程序的.net框架相同的版本,但问题并没有.''不能解决.请帮我,因为如果我不能使用.net,我已经失去了.net的良好和漂亮的功能.我正在等待您的回答,我恳求回答!!!
非常感谢.

hi dudes,
I''ve made a few Windows applications which i tried to have a non-rectangle form in those,so i tried to do exactly as MSDN says in Shaped Windows Forms and Controls in Visual Studio .NET
but when i tested my application release on some destination computers which their OS was Windows XP[sp2 or 1],those areas which had the color which was the same color that had been chosen for transparencykey property of my form,are not being transparent and they are being shown to the user,and believe me that made my starting form very nasty...i tried to install the same version of the .net framework which i was developing applications with on the destinations computer,but the problem didn''t solved.plzzz help me ,because i have lost a good and beautiful ability of .net if i cannot use that.I''m waiting for your answers,and i beg u to answer me!!!
thanks a lot.

推荐答案

最可能的原因是视频驱动程序不正确,如果代码在某些计算机上有效,而在其他计算机上则无效.
The most likely cause is bad video drivers, if the code works on some machines and not on others.


这篇关于自定义形状的窗口窗体和透明键问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆