>Hi! Everyone
>I have a question that very difficult for me....
>
>My question is like that....
>
> How Can I deactive Screen Saver that running now......
The easiest way would be to use George Tasker's class in the Files section here on UT. In order to shut down the current screen saver, you either must use SendMessage() to message the screen saver, or better, to use SystemParametersInfo() with the SPI_SETSCREENSAVEACTIVE action. You'll need to look at how to set this up in the API documentation; if you have Visual Studio, it's documented in the API Help file, with specific values defined in WINBASE.H in the Visual C++ INCLUDES directory. SystemParametersInfo() should be callable for this directly from VFP without needing a wrapper function.
>
> I got a information that in Win32API ScreenSaverProc function is
> related this work.... but how can i use this function???
This function is not part of the API, but is a generic part of a Screen Saver's public interface; this is the module that receives and processes Windows Messages in the screen saver itself. You can send requests to the screen saver via SendMessage() (you'd have to find the Window Handle for the screen saver first, and then send the appropriate message; I have no clue as to what messages are accepted by screen savers, or the Window name for the screen saver to use the FindWindow() function to get it.)