C# 2008 - NotifyIcon - BaloonTip

发布于 2024-07-23 05:48:29 字数 283 浏览 1 评论 0原文

我使用以下代码:

notify.ShowBalloonTip(
    15000, 
    "Reminder!", 
    myText,
    System.Windows.Forms.ToolTipIcon.None);

但问题是气球几乎总是隐藏活动窗口后面的一层。 显然,当您的活动窗口最大化并一直向下到达任务栏时,这效果不太好,因为提示气球就在它后面。 有谁知道为什么会发生这种情况? 我使用的是Win XP Pro SP3。

谢谢!

I'm using the following code:

notify.ShowBalloonTip(
    15000, 
    "Reminder!", 
    myText,
    System.Windows.Forms.ToolTipIcon.None);

But the problem is the balloon almost always hides one layer behind the active window. Obviously this doesn't work too well when your active window is maximized and goes all the way down to the task bar, because then the tip balloon is behind it. Does anyone know why this might happen? I'm using Win XP Pro SP3.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

濫情▎り 2024-07-30 05:48:29

您可能遇到一个已知的(烦人且随机的)Windows 错误:http://www.howtogeek.com/howto/windows/how-to-fix-system-tray-tooltips-not-displaying-in-windows-xp/

You might be experiencing a known (and annoying and random) Windows bug: http://www.howtogeek.com/howto/windows/how-to-fix-system-tray-tooltips-not-displaying-in-windows-xp/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文