本文介绍了我可以设置无限AutoPopDelay在一个.NET Windows窗体窗口提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个要求,没有标准的.NET Windows窗体提示automatcially隐藏 - 这是的,我需要他们保持可见,直到鼠标移开具有提示控制。我想,以避免使用特定的MouseEnter和鼠标离开事件的所有控件与工具提示。我很高兴听到第三方的解决方案,如果他们想解决的问题。

解决方案

我正在寻找一个解决问题的办法。

我发现在论坛下面的答案,这并不解决Problem2,但让我读的文字比我更需要,当我将其值设置为时间 32766 并因此 - 中我的观点 - 一种变通:

但我不得不承认,它仍然很烂......

但它设置为 32000 (32秒),似乎更好地工作。不知道这是为什么,但也许它可以帮助别人。

I have a requirement to not have the standard .NET Windows Forms tooltip automatcially hide - that is, I need them to remain visible until the mouse moves off the control that has the tooltip. I'd like to avoid having to use specific MouseEnter and MouseLeave events for all controls with a tooltip. I'm happy to hear about third-party solutions if they'd solve the problem.

解决方案

I was searching for a solution to the problem

I found in the forums the following answer, which does not solve Problem2, but lets me read the text for more than the time I need when I set its value to 32766 and is thus - in my opinion - a kind of 'work around':

But I have to admit, it still sucks...

But setting it to 32000 (32 seconds) seems to work better. No clue why this is but maybe it helps someone.

这篇关于我可以设置无限AutoPopDelay在一个.NET Windows窗体窗口提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-17 23:13
查看更多