0
Answer

Derived PictureBox and OnKeyPress Events

Ask a question
Jens

Jens

15y
4.6k
1
I've derived a PictureBox class to handle some drawing and mouse handling functionality.  Now I'm trying to add some key press event handling, but the events never appear to be fired.

The OnMouseDown override was straightforward. Is the OnKeyDown for the PictureBox somehow different? Any tricks?!

Thanks.