在Windows 2000中使用RenderMode = System的MenuStrip [英] MenuStrip with RenderMode=System in Windows 2000

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

问题描述

我遇到了MenuStrip控件的问题,使用.NET 2.0,它被设置为使用RenderMode = System,因为这会产生结果类似于我们应用程序的其他遗留部分。

I've got a problem with the MenuStrip control, using .NET 2.0, it is set to use the RenderMode=System, as this produces a result similar to other legacy parts of our application.

然而问题是,当RenderMode属性设置为System并且应用程序在Windows 2000(带SP4)上运行时,菜单显示为全黑,各种菜单不能可见。 (而不是带有黑色菜单标题的普通灰色。)

The problem however is that when the RenderMode property is set to System and the application is run on Windows 2000 (with SP4) the menu shows up as all black and the various menus can't be seen. (Instead of the normal gray with black menu titles.)

如果我将RenderMode更改为使用其他设置之一,则它可以正常工作。 (所有模式都适用于Windows XP。)

If I change RenderMode to use one of the other settings, it works without any problems. (All modes works on Windows XP.)

我用一个小的虚拟应用程序重复了这一点,它只包含一个带有默认菜单的MenuStrip和一些用于在RenderMode之间切换的按钮,System just doesn'这似乎适用于Windows 2000.这已经在两台不同的机器上进行了测试,两台机器都运行Windows 2000和SP4。

I have repeated this with a small dummy application that only contains a MenuStrip with default menus and a few buttons for switching between RenderMode, System just doesn't seem to work on Windows 2000. This have been tested on two different machines, both running Windows 2000 with SP4.

我没有在文档中发现System RenderMode没有在Windows 2000上受支持,我也没有在互联网和新闻组上找到任何关于此问题的报告。

I have not found anything in the documentation that the System RenderMode isn't supported on Windows 2000 and I haven't found any reports of this issue on the internet and newsgroups either.

这是一个错误吗?可能是什么导致了这个?有解决方法吗?由于Strip控件的家族似乎是"the"。在.NET 2.0中使用的控件,我有点担心这些操作系统兼容性问题。

Is this a bug? What may be causing this? Is there a workaround? As the family of Strip controls seems to be "the" controls to use in .NET 2.0, I'm somewhat concerned about these OS compatibility issues.

我还可以补充说ToolStrip没有任何这些问题,它适用于RenderMode =系统在相同的Windows 2000机器上。

I can also add that the ToolStrip doesn't have any of these problems, it works with RenderMode = System on the same Windows 2000 machines.

我会提供你可以给出的任何建议。

I appreachiate any advice you can give.

干杯,
RedZ

Cheers,
RedZ

推荐答案

你好RedZ,

Hi RedZ,

当我们在Windows 2000下运行应用程序时,我发现了完全相同的问题(赢2K)。你找到了解决这个问题的方法吗?

I've found the exact same problem when we ran out app under Windows 2000 (Win 2K).  Have you found any solution to this problem?

谢谢,
Nate

Thanks,
Nate


这篇关于在Windows 2000中使用RenderMode = System的MenuStrip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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