Hi Mike,
>>How do you define a handler for the undefined WM_ messages in straight VFP? Inquring minds and all that?
>
>Like you would with any other language, I suppose
In any other language you would install either a system hook or create a new Window Class. Both don't work in VFP as you need an address to a procedure in machine code. There's indeed one solution that could work in VFP, but it's not only slow, but also not reliable as it bases on polling the message queue using PeekMessage and eventually WaitMessage(). Since I've not tested this practically, I can't think of what kind of effect it might have on VFP itself since suspending the thread to wait for messages might interfere with VFP.
Christof
--
Christof