Solved

Creating keyboard filters using Silverlight

Posted on 2011-02-21
5
269 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:newbieweb
  • 3
  • 2
5 Comments
 
LVL 16

Assisted Solution

by:Kalpesh Chhatrala
Kalpesh Chhatrala earned 500 total points
Comment Utility
Here is a reasonably good approach to image leeching:

http://www.uberasp.net/getarticle.aspx?id=13
0
 

Author Comment

by:newbieweb
Comment Utility
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?
0
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 500 total points
Comment Utility
you can add timer on your main page.

check every tick (like 500 ms) if window is active then clean your clipboard
0
 

Author Comment

by:newbieweb
Comment Utility
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.
0
 

Author Closing Comment

by:newbieweb
Comment Utility
Thanks.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now