【发布时间】:2012-01-05 12:18:53
【问题描述】:
我在自定义操作中使用MessageBox.Show 方法。窗户是靠后的。有什么办法可以把它带到前面/焦点?
提前致谢。
【问题讨论】:
标签: visual-studio-2010 setup-project custom-action
我在自定义操作中使用MessageBox.Show 方法。窗户是靠后的。有什么办法可以把它带到前面/焦点?
提前致谢。
【问题讨论】:
标签: visual-studio-2010 setup-project custom-action
从 Vista 开始的应用程序无法再将其窗口置于 Z 顺序之上。相反,应用程序窗口显示在背景中,并且其任务栏图标闪烁。
如果你想在 Z 顺序之上显示窗口,你可以试试这个方法:How can I bring a window to the foreground in Vista using C++?
【讨论】: