【问题标题】:visual studio 2010 setup project - message box in custom actionsVisual Studio 2010 安装项目 - 自定义操作中的消息框
【发布时间】:2012-01-05 12:18:53
【问题描述】:

我在自定义操作中使用MessageBox.Show 方法。窗户是靠后的。有什么办法可以把它带到前面/焦点?

提前致谢。

【问题讨论】:

    标签: visual-studio-2010 setup-project custom-action


    【解决方案1】:

    从 Vista 开始的应用程序无法再将其窗口置于 Z 顺序之上。相反,应用程序窗口显示在背景中,并且其任务栏图标闪烁。

    如果你想在 Z 顺序之上显示窗口,你可以试试这个方法:How can I bring a window to the foreground in Vista using C++?

    【讨论】:

      猜你喜欢
      • 2012-01-26
      • 1970-01-01
      • 2011-09-06
      • 1970-01-01
      • 2021-11-22
      • 2018-02-24
      • 1970-01-01
      • 2023-03-29
      • 1970-01-01
      相关资源
      最近更新 更多