>Thanks Mike. I took a look. I'm no WinAPI guru, but it looks to me like event.c demonstrates how to trap and report on VFP events.
Oops, was going by memory there, thought event.c hooked Windows messages. Take a look at Message#
439018, that should get you what you want. It even shows you how to do it with Fox code, though you don't really want to do that.
Mike Stewart