If you're using mIRC without a DLL, I just put a hidden DEFAULT button that when "pressed" will do what you want to happen when ENTER is pressed. Because ENTER works like pressing the selected button, this works fairly well.

Otherwise, I've had luck using KEYUP with key# 13 on DCX for handling the enter key.

Invision Support
#Invision on irc.irchighway.net