How to handle hot keys in a tool plugin?

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

On 27/07/2005 at 22:59, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   9.1 
Platform:      Mac OSX  ; 
Language(s) :     C++  ;

---------
Contrary to the normal tools a tool plugin seems to swallow all keyboard commands / hot keys - I mean things like cmd-w or cmd-s.

What is the proper way to avoid this and route the keyboard commands to the application?

Thanks

Kabe