dmaz #1 not the same thing. setgadgethotkey set the hotkey which fires the default event. the problem here is there is no KEY_RETURN event for these gadgets. that's what sethotkeyevent does, is create an event whenever return is pressed.