讨论,讨论屏保程序,散分

Leo 2005-01-16 01:44:08
可用分过万,留着浪费。
欢迎大家讨论“屏保程序”的各个方面,我会在结帖时给于总结。
...全文
87 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
lpschenshengxue 2005-01-18
  • 打赏
  • 举报
回复
本书通过120个精选的例子讲解了利用Visual Basic进行应用程序开发的各个方面,涵盖了界面外观、多媒体控制与图像处理、时间控制、操作系统、程序控制、磁盘文件、数据库、网络与通信、鼠标和键盘、数学算法和程序发布等方面的内容。每章通过经典的例子重点讲述如何利用Visual Basic以及第三方控件、API函数完成特定的功能。
  本书内容突出了实用性,85%以上的实例模仿较常见的优秀软件的相关功能,余下实例大多为帮助读者理解重点、难懂概念所做。本书的另一个特点在于给出了不少实用性很强的“方案实例”(以往的百例图书内容基本上都属于“功能实例”),其内容多为典型或通用的功能模块的解决方案,包括界面设计、操作流程以及代码控制等内容。
  本书适用于已经初步掌握Visual Basic编程概念、方法的读者阅读,本书可以帮助读者迅速掌握实际应用中的各种经验、技巧。
Leo 2005-01-17
  • 打赏
  • 举报
回复
我先来小结一下,大家跟上

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
/p to preview the screensaver
/S to launch to screenscaver from exploer

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) 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!
jiangfb 2005-01-16
  • 打赏
  • 举报
回复
安装屏保
rundll32.exe desk.cpl,InstallScreenSaver Xxx.scr

屏保就是一个exe, 假设Xxx.scr原来是Xxx.exe
那么打开屏幕就是Xxx.exe /S
而直接执行Xxx.exe只是配置屏保

2,640

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 硬件/系统
社区管理员
  • 硬件/系统社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧