Re: Global blocking of input events

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello Paul,

Paul G. Tobey [eMVP] wrote:
> "Wolfgang Meier" <womei@xxxxxxxxxxxxxx> wrote in message
> news:1133994392.814619.125800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > I'm trying to temporarily block all events like button presses and
> > mouse clicks from reaching any application on my device, but to no
> > avail.

> First tell us *why* you want to do this, rather than *what* you want to do.
> We'll be much more able to tell you the best way to accomplish a task if you
> tell us what the task is, rather than how you've decided you want to do
> it...

First of all: thanks for responding so quickly, I really appreciate
someone trying to help me with this problem.

The reason I want to block applications from receiving button presses
and mouse clicks is straightforward: Users should be able to run the
application (which plays voice files) and still be able to put their
devices in their pockets without having to worry about inadvertently
starting random programs, deleting files, dialling long-distance
numbers and so on.

I could nearly avoid this by switching focus immediately back to my
application as soon as it looses focus, but notification message
bubbles do exactly the same, so it's kind of a tug-of-war between my
app and the popups right now.

Is there anything I simply overlooked?

Wolf

.


Quantcast