views:

86

answers:

2

I want to be able to interact with main window of applications like Firefox or Word, while modal window is active.

What I mean by interact is to:

  • Copy text
  • Move window
  • Close window (by pressing x button)

Are these possible under Windows environment?

A: 

No, the modal windows hide the parent's messaging loop so no events get processed by them.

Blindy
A: 

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.

Windows programmer