在.net中使用animation.ocx [英] using animation.ocx in .net

查看:55
本文介绍了在.net中使用animation.ocx的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为动画控件设置背景颜色不需要

效果。

BackStyle属性设置为cc2BackstyleTransparent。

无论BackColor是什么属性设置为,在运行时

backcolor始终是SystemColors.Control。

Setting backcolor for the animation control does not take
effect.
The BackStyle property is set to cc2BackstyleTransparent.
No matter what BackColor property is set to, in run time
the backcolor is always SystemColors.Control.

推荐答案



感谢您的帖子。我在我身边做了一些测试,但是,我无法再次b / b
重现我身边的问题。我在VS .NET 2003中创建了一个新的Windows窗体应用程序

,插入了Microsoft Animation Control 6.0(SP4)和5.0

(SP2),更改了它们的BackColor,构建和运行,背景颜色是我之前设置的



为了缩小问题范围,我建议您创建一个新项目来检查

问题是否仍然存在?如果问题仅存在于某个特定项目中,您也可以发布您的项目,以便我们查看

的内容。


我期待您的回复。


祝您有愉快的一天!


问候,


HuangTM

微软在线合作伙伴支持

MCSE / MCSD


安全! - www.microsoft.com/security

发布是按原样提供的。没有保证,也没有授予任何权利。

Hi,

Thanks for your post. I did some test on my side, however, I am not able to
reproduce the problem on my side. I created a new Windows Forms application
in VS .NET 2003, inserted both Microsoft Animation Control 6.0(SP4) and 5.0
(SP2), change their BackColor, build and run, and the backcolor are what I
set previously.

To narrow down the problem, I recommend you create a new project to check
whether or not the problem still exists? If the problem only exists in a
specific project, you can also post your project so that we can check what
was going on.

I look forward to your response.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


不,它不起作用。


我需要玩avi文件在白色表格之上,但是电影

有红色背景。

在VB6中设置BackStyle cc2BackstyleTransparent和

BackColor to White会强迫电影忽略它自己的

背景并且是透明的。

在vb.net中控件是白色的,但是电影仍然有

它'自己的红色背景。
No, it does not work.

I need to play avi file on top of white form but the movie
has red background.
In VB6 setting BackStyle cc2BackstyleTransparent and
BackColor to White whould force movie to ignore it''s own
background and be transparent.
In vb.net the control apears white, but movie still has
it''s own red background.
-----原始消息-----
您好,

感谢您的帖子。我在我身边做了一些测试,但是,b $ b但是,我无法在我身边重现这个问题。我在VS .NET 2003中创建了一个新的Windows
Forms应用程序,插入了Microsoft Animation
Control 6.0(SP4)和5.0(SP2),更改了他们的BackColor,构建和运行,以及
backcolor是以前的Iset。

为了缩小问题范围,我建议你创建一个新的
项目来检查问题是否仍然存在?如果问题
仅存在于特定项目中,您也可以发布您的项目,以便
我们可以检查发生了什么。

我期待您的回复。

祝您有个美好的一天!

此致,

黄TMM
微软在线合作伙伴支持
MCSE / MCSD
www.microsoft.com/security
此帖子已提供按原样没有保证,
不授予任何权利。
-----Original Message-----
Hi,

Thanks for your post. I did some test on my side, however, I am not able toreproduce the problem on my side. I created a new Windows Forms applicationin VS .NET 2003, inserted both Microsoft Animation Control 6.0(SP4) and 5.0(SP2), change their BackColor, build and run, and the backcolor are what Iset previously.

To narrow down the problem, I recommend you create a new project to checkwhether or not the problem still exists? If the problem only exists in aspecific project, you can also post your project so that we can check whatwas going on.

I look forward to your response.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.






感谢您的答复。经过进一步研究,我发现VB6和VB .NET应用程序使用BackStyle cc2BackstyleTransparent显示电影'

背景组相同的结果

。我在Windows''文件夹下再次测试

clock.avi。


为了缩小问题范围,我建议你创建新的VB6和VB .NET

应用程序,添加动画控件来检查clock.avi文件。


请让我知道结果。


问候,


HuangTM

微软在线合作伙伴支持

MCSE / MCSD


安全! - www.microsoft.com/security

发布是按原样提供的。没有保证,也没有赋予任何权利。

Hi,

Thanks for your response. After further research, I found the same result
with both VB6 and VB .NET applications that they display the movie''s
backgroup with BackStyle cc2BackstyleTransparent. I am testing again
clock.avi under Windows'' folder.

To narrow down the problem, I suggest you to create new VB6 and VB .NET
applications, add Animation control to check the clock.avi file.

Please let me know the result.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


这篇关于在.net中使用animation.ocx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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