>I'd like to disable keys like
>Ctrl+esc or ctrl+alt+del .or. Alt+tab or others in my program
You can't hook those; they're processed by the Shell before they ever reach the VFP application, and VFP doesn't have the necessary mechanisms to hook to the Shell's event loop. You can do it in C++, but it's a non-trivial and potentially dangerous thing to do.