windows .scr screen savers



scr files are nothing more complex than .exe files with the
extension scr. windows calls the .scr file with two command-line
options:

/s to launch the screensaver
/c to configure the screensaver

for the windows control panel to recognise the screensaver, the program's module description string must begin with scrnsave: (in uppercase). so, if writing a visual basic screensaver, simply set the application title to something like "scrnsave:test screensaver"

to create a new screen saver simply write a program that checks the
command-line option when starting and performs the appropriate
action. the display should use a full-screen window (usually with a
black background../jpg/di1.JPG and should end when any key is pressed or when the
mouse is moved.

when the program is compiled, rename the .exe to .scr and put it
into the windows directory so it can be found by the screensaver
selection dialog in windows.

happy screensaving!

-----------------------------------------------------------------
paul oliver with thanks to michael poxon.
8th december 1996

返回




月光软件源码下载编程文档电脑教程网站优化网址导航网络文学游戏天地幽默笑话生活休闲写作范文安妮宝贝
电脑技术编程开发网络专区谈天说地情感世界游戏元素分类游戏热门游戏体育运动手机专区业余爱好影视沙龙
音乐天地数码广场教育园地科学大观古今纵横谈股论金人文艺术医学保健动漫图酷二手专区地方风情各行各业

月光软件站·版权所有