如何在我的应用程序中使用屏幕保护程序? [英] How to Use a Screen Saver app within My Application?

查看:77
本文介绍了如何在我的应用程序中使用屏幕保护程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿所有,


我想知道是否有人在

a VB应用程序中完成或知道如何使用屏幕保护程序(即显示正在运行的屏幕窗体或子窗口上的保护程序,如

控制面板中的预览功能)?


谢谢&此致,


TC

Hey All,

I was wondering if anyone has done or knows how to use a screen saver within
a VB app (i.e. display a running screen saver on a form or child window like
the ''Preview'' functionality in the Control Panel)?

Thanks & Regards,

TC

推荐答案

2006年5月24日星期三06:26:52 -0400, " TCook" < ge ********** @ yahoo.com>

写道:
On Wed, 24 May 2006 06:26:52 -0400, "TCook" <ge**********@yahoo.com>
wrote:

我想知道是否有人完成或知道如何在VB应用程序中使用屏幕保护程序(即在窗体或子窗口上显示运行的屏幕保护程序,如控制面板中的预览功能)?

I was wondering if anyone has done or knows how to use a screen saver within
a VB app (i.e. display a running screen saver on a form or child window like
the ''Preview'' functionality in the Control Panel)?




尝试使用''/ p nnnn'作为命令尾部启动屏幕保护程序应用程序,

其中nnnn是预览的hwnd。窗口,即

Shell" MySaver.scr / p" &安培; Me.hwnd


-Tom

MVP - Visual Basic

(请回复新闻组)



Try starting the screensaver app with '' /p nnnn'' as command tail,
where nnnn is the hwnd of the "preview" window, i.e.
Shell "MySaver.scr /p " & Me.hwnd

-Tom
MVP - Visual Basic
(please post replies to the newsgroup)


TCook写道:
我想知道是否有人在VB应用程序中完成或知道如何使用屏幕保护程序(即显示正在运行的屏幕)窗体或
子窗口上的保护程序,如控制面板中的预览功能)?
I was wondering if anyone has done or knows how to use a screen saver
within a VB app (i.e. display a running screen saver on a form or
child window like the ''Preview'' functionality in the Control Panel)?




这里你去:


Shell" sspipes.scr / p" &安培; CStr(Picture1.hWnd)


-

没有.NET工作?
http://classicvb.org/


非常感谢大家!

Karl E. Peterson < KA ** @ mvps.org>写在消息

新闻:OQ ************** @ TK2MSFTNGP04.phx.gbl ...
Thanks a bunch guys!
"Karl E. Peterson" <ka**@mvps.org> wrote in message
news:OQ**************@TK2MSFTNGP04.phx.gbl...
TCook写道:
我想知道是否有人在VB应用程序中完成或知道如何使用屏幕保护程序(即在窗体或
子窗口上显示运行的屏幕保护程序,如''在控制面板中预览''功能)?
I was wondering if anyone has done or knows how to use a screen saver
within a VB app (i.e. display a running screen saver on a form or
child window like the ''Preview'' functionality in the Control Panel)?



这里你去:

Shell" sspipes.scr / p" &安培; CStr(Picture1.hWnd)

-
没有.NET工作?
http://classicvb.org/



这篇关于如何在我的应用程序中使用屏幕保护程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆