In order to process Windows messages, posted to VFP form, you'll need to subclass that form. It cannot be done in VFP directly and requires any external tool. For example, you can use FoxSubclass COM-object at
http://nsvisual.com/fox2/sol/index.php?act=view&id=289 (download file
http://nsvisual.com/fox2/sol/289FoxSubclass.zip).
Alexander
>Hi,
>
>Is there a way that a message posted by the WIN32API from a remote app can be picked up within a Foxpro form. I need the message to fire an event with in the form. What event will do this? I have tried Keypress and can not get that to work. Does the form need to be top level? Any help would be greatly appreciated.
>
>Many thanks in advance.
>
>Regards,
>Mike Mayo