• 0

[VB] Print Screen


Question

Is there a way to detect if the Print Screen key has been pressed? Usually I would use a keycode type of function, but I don't think there is an ASCII value for that key.

At the moment I can check if an image is in the clipboard, but this could be any image (not necessarily a screenshot). I'm only trying to detect whether a screenshot has been taken.

Any help is appreciated.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Thanks guys. I've worked it out for when the program has focus, but not when it's not in focus.

I guess I need to work out how to intercept keystrokes when the program isn't in focus.

Thanks :)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.