0

我希望能够在模态窗口处于活动状态时与 Firefox 或 Word 等应用程序的主窗口进行交互。

我所说的交互是指:

  • 复制文本
  • 移动窗口
  • 关闭窗口(按 x 按钮)

这些在Windows环境下可能吗?

4

2 回答 2

0

If you want to do it programmatically, you can. SendMessage will invoke the target window's message handler when the target isn't expecting it, so you'd better be very careful what you do.

If you want to do it as a user, operating the mouse and keyboard, then your question belongs on a different web site even though Blindy answered that question for you.

于 2010-05-11T06:34:07.207 回答
0

不,模态窗口隐藏了父级的消息循环,因此它们不会处理任何事件。

于 2009-05-18T13:52:43.607 回答