dialog [RETURN]-default-action

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 07/05/2004 at 01:48, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.207 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi there,
if I push the [Return] key in a GeModalDialog it closes but without doing the OK Button Command action.
Is there any way to define a default action when hitting [Return]key or[Esc] key?