DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Pascal and Delphi (http://www.daniweb.com/forums/forum124.html)
-   -   How to make a screensaver run in delphi 2009 on xp/vista (http://www.daniweb.com/forums/thread160445.html)

darkyere Dec 2nd, 2008 3:30 pm
How to make a screensaver run in delphi 2009 on xp/vista
 
i have made a screensaver and what i want is to disable alt-tab, ctrl-esc, the windows button (the one between ctrl and alt i mean)

ive tryed using many different versions of

SystemParametersInfo( SPI_SCREENSAVERRUNNING, integer(true), @i, 0);
SystemParametersInfo( SPI_SETFASTTASKSWITCH, 1, @i, 0);

but its not working on xp and vista...

i would appreiciate the help if any now how to make a screensaver run in xp and vista.

best regards,
Darkyere

jbennet Dec 2nd, 2008 3:54 pm
Re: How to make a screensaver run in delphi 2009 on xp/vista
 
rename your .exe to be .scr and it should simply just work

darkyere Dec 2nd, 2008 5:15 pm
Re: How to make a screensaver run in delphi 2009 on xp/vista
 
Quote:

Originally Posted by jbennet (Post 748970)
rename your .exe to be .scr and it should simply just work

sry. but ive allredy doing that when im puplishing ht e product and that doesnt work.

there most be some way to make my program run as a screensaver... i know there must be whit all these screensavers out there some must be made in delphi.

well hope someone know the answer

best regards,
darkyere

LizR Dec 3rd, 2008 4:26 am
Re: How to make a screensaver run in delphi 2009 on xp/vista
 
There are plenty, however, ive not tried running them under vista.

Try posting on the embarcadero forums - if anyones going to know people there will.

Glenn9999 Dec 9th, 2008 4:24 am
Re: How to make a screensaver run in delphi 2009 on xp/vista
 
There's a lot more to screen savers than just renaming EXE to SCR.

See http://www.tek-tips.com/faqs.cfm?fid=6914 for an example.

LizR Dec 9th, 2008 4:47 am
Re: How to make a screensaver run in delphi 2009 on xp/vista
 
Yep, screen savers have specific functions in such as the config screen etc. I know Ive written a few following various googled tutorials in the past, so have a google.


All times are GMT -4. The time now is 9:37 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC