RE: Screensaver Question
- From: Leemi@xxxxxxxxxxxxxxxxxxxx (Lee Mitchell)
- Date: Thu, 29 Sep 2005 21:33:45 GMT
Hi LH:
I have not used this API before, so I cannot comment on personal use.
However, I did find this link with an example. You might want to compare
your code to this code.
http://www.news2news.com/vfp/?example=283&function=441
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/
*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/gp/lifeselectindex
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
>I'm trying to deactivate the screen saver programatically using
>SystemParametersInfo
> DECLARE INTEGER SystemParametersInfo IN user32;
> INTEGER uiAction, INTEGER uiParam,;
> INTEGER @pvParam, INTEGER fWinIni
>when I use SystemParametersInfo(SPI_GETSCREENSAVEACTIVE, 0, @lnTemp, 0) or
>SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, @lnTemp, 0)
>I can detect whether the screen saver is running / active etc but
>neither SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, .T., @lnTemp, 0) or
> SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, .F., @lnTemp, 0)
>will turn it off, I've tried using .T. or .F. but it doesn't make any
>difference. Does anybody use these successfully? What am I doing wrong?
>
>Thanks
>LH
.
- Follow-Ups:
- Re: Screensaver Question
- From: lh
- Re: Screensaver Question
- References:
- Screensaver Question
- From: lh
- Screensaver Question
- Prev by Date: Re: SourceSafe hangs when multiple users access anything at the sa
- Next by Date: Re: Report Form xx PROMPT vs. Default Printer
- Previous by thread: Screensaver Question
- Next by thread: Re: Screensaver Question
- Index(es):
Relevant Pages
|