透明的形式 [英] transparent form

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

问题描述

我想创建一个透明的表单,并可以使用Ink在其上写一些东西。

我尝试设置form.backcolor = color.transparent,但它不接受。

当我使用Opacity时,所有内容都将被转换。

最后,我尝试使用transparencykey,但任何鼠标操作都会被转移到windows的
在透明区域下面。

任何解决方案? thx

解决方案

我认为表格有不透明度设置,那不能给你什么吗?b $ b需要什么?

don < do*@discussions.microsoft.com>在消息中写道

新闻:B3 ********************************** @ microsof t.com ...

我想创建一个透明的表单,可以使用
Ink来写一些东西。
我尝试设置form.backcolor = color.transparent但是它不接受。
当我使用Opacity时,一切都将被解释。
最后,我尝试使用transparencykey,但是任何鼠标动作都会被转移到下面的窗口透明区域。
任何解决方案? thx



如果我有一个opacity = 0的表单并在表单上画一条线,

该行将是不可见的。我希望表格不可见且线条可见

所以我认为不透明度对我的项目不起作用


Josh写道:

我认为表格有不透明度设置,这不能给你什么吗?




我对你遇到的问题确实感到困惑。我没有试过这个,但我认为如果不透明度设置为0%那么点击

事件将不会被你的表格困住并将被传递给任何下面是
,但是,你可以将不透明度设置为1%,并且形式为

看起来似乎看不见你的眼睛并且仍会陷入事件。


您能否更具体地了解您的项目所处的确切状态

关于您正在撰写的问题。


谢谢

-

Terry Burns
http ://TrainingOn.net


" don" < do*@discussions.microsoft.com>在消息中写道

新闻:B3 ********************************** @ microsof t.com ...

我想创建一个透明的表单,可以使用
Ink来写一些东西。
我尝试设置form.backcolor = color.transparent但是它不接受。
当我使用Opacity时,一切都将被解释。
最后,我尝试使用transparencykey,但是任何鼠标动作都会被转移到下面的窗口透明区域。
任何解决方案? thx



I want to create a transparent form and can write something on it by using Ink.
I try to set form.backcolor = color.transparent, but it dosen''t accept.
And everything will be transprent when i use Opacity.
Finally, i try to use transparencykey, but any mouse actions will be
transferred to the windows below the transparent area.
Any solutions? thx

解决方案

I thought forms had an opacity setting, does that not give you what you
need?
"don" <do*@discussions.microsoft.com> wrote in message
news:B3**********************************@microsof t.com...

I want to create a transparent form and can write something on it by using
Ink.
I try to set form.backcolor = color.transparent, but it dosen''t accept.
And everything will be transprent when i use Opacity.
Finally, i try to use transparencykey, but any mouse actions will be
transferred to the windows below the transparent area.
Any solutions? thx



if i have a form with opacity = 0 and draw a line on the form,
the line will be invisible. i want the form invisble and the line is visible
so i think opacity doesn''t work for my project

"Josh" wrote:

I thought forms had an opacity setting, does that not give you what you
need?




I''m a little confused as to exactly what problem you are experiencing. I
have not tried this, but I think if the Opacity is set to 0% then the click
events will not be trapped by your form and will be passed to whatever is
underneath, however, you can set the Opacity to 1% and have the form
seemingly appear invisible to your eye and still trap the events.

Can you be more specific about the exact state your project is in with
respect to the problem you are writing about.

Thanks
--
Terry Burns
http://TrainingOn.net

"don" <do*@discussions.microsoft.com> wrote in message
news:B3**********************************@microsof t.com...

I want to create a transparent form and can write something on it by using
Ink.
I try to set form.backcolor = color.transparent, but it dosen''t accept.
And everything will be transprent when i use Opacity.
Finally, i try to use transparencykey, but any mouse actions will be
transferred to the windows below the transparent area.
Any solutions? thx



这篇关于透明的形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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