>Is there a way to trap the a WM_USER message sent to the main foxpro window?
Albert,
There's no way to "trap" (as you would with a keystroke), but setting a timer up to call the PeekMessage API function will allow you to simulate this behavior.
hth,
George
George
Ubi caritas et amor, deus ibi est