Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

Creating keyboard filters using Silverlight

When I run a Silverlight app. out of browser on the Windows platform, I'd like to create a keyboard filter than allows me to test for the PrtScrn key and override it.  Can this be done from Silverlight?

Curious.

newbieweb
SOLUTION
Avatar of Kalpesh Chhatrala
Kalpesh Chhatrala
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

Thanks. Any idea if I can create a keyboard filter to capture the PrtScrn key press? Or is there a way to ask Windows to disable that while my web p[age is showing?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is there no way from Silverlight to inspect the key strokes? Or is it that the browser doesn ot have that capability?

Can't a web page run an ActgiveX control? And can't that filter key strokes?

It doesn't seem like it should be that hard.  The clean the clipboard method also seems like it should work but I would rather not mess with the data the user has in the clipboard if possible.
Thanks.