how can I hook keyboard strokes within dynamically created component
I have a component of type TCustomPanel that I have created. I want to include the ability to capture a keystroke (escape key) when the program that uses my component is not in focus. I am trying to insert a SetWindowsHookEx Function to capture an escape keypress within the component without luck. The escape key should refocus the program and call a function within the component.