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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.