首先,定义一个变量HotKeyID: integer; 然后,这样写
  HotKeyID := GlobalAddAtom(PChar('hello')) - $C000;
  RegisterHotKey(Self.Handle, HotKeyID, MOD_CONTROL, $4D);
最后,还需要
  UnregisterHotKey(Self.Handle, HotKeyID);
  DeleteAtom(HotKeyID);