I created a custom control to which I am trying to send input. It will accept mouse input and tell MouseDown, MouseMove and MouseUp correctly, but for some reason it will not accept keyboard input. When I click on it, it does not receive focus, and any keys that I click on are interpreted by any control.
This is probably something really simple. The first thing I thought was in the ControlStyle property, but the only thing I can see in the keyboard input help file is that it csNoStdEventsdisables it, and my control does not have this. So what do I need to do to make sure that my control can get input focus?
source
share