>Do you know if it's possible to execute code when the user resize, minimize or maximize the main form of VFP. (_SCREEN) ?
There's no direct way to hook to an event in the main VFP form; two alternatives are to have a timer poling to pick up the resize and respond, or use a top-level form rather than the main VFP screen, which would allow you to hook the resize event.