0

I am developing a print screen application and almost done..I can't seem to recognize the
print screen button:

Using something like this c# visual studio 2008.

 protected override void OnKeyDown(KeyEventArgs keyEvent)
        {         

            textBox1.Text = "KeyData: " + keyEvent.KeyCode.ToString(); 

        {
        MessageBox.Show("KeyData' was pressed.");
        }
    }

I can get every other key when pressed to show up in the text box except
the print screen button when pressed..

I really want to use the alt and print screen together for the active screen and
count it as a counter. When pressed it would increment a counter..in a text box.
so it would display a "3" in the text box if you pressed alt-print screen 3 times.

Any help would be greatly appreciated..Thanks

Edited by mike_2000_17: Fixed formatting

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by Lusiphur
0

Best I can do for you is point you at this page where someone else seems to have discovered a solution to match your needs.

Hope this helps :) Please mark as solved if it resolves your issue.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.