I am not 100% sure what you mean, but as general idea how component should handle keys, at least one possibility, check RichEdit.
Mirek
From Global shortcut event handle I mean to handle keyboard event from other program(when my program is runned but is not active - it can be in system tray).
I am afraid you will have to go Win32 API for this one.