0
Answer

Derived PictureBox and OnKeyPress Events

Photo of Jens

Jens

16y
5k
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.