使用Delphi在桌面上打印动态文本? [英] Dynamic text printed on the desktop using Delphi?

查看:341
本文介绍了使用Delphi在桌面上打印动态文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我们的云服务器上看到,桌面上有一些动态的打印文字,显示了多少内存可用,硬盘空间等。这不像窗口或小工具或任何东西,但不知何故直接画了在桌面上我该如何做到这一点?我只看过文字,但是如果我可以在桌面上绘制图形,那将是很好的。



这是我的意思的一个例子:






编辑:



由于某人对我所提问题的误解,请允许我澄清: p>

我不一定需要做这个现有工具的确切。其实我根本不想打印系统信息。我想打印自己的信息看起来是一样的,但无论使用什么方法来完成(无论是使用窗口,保存桌面图像,绘图到桌面的画布,任何这些都是可能的答案),这并不重要。我只想让一些东西有一个类似的最终结果。

解决方案

有一个非常好的机会,实际上并没有动态绘制,而是使用像BGInfo这样的东西:



http://technet.microsoft.com/en-us/sysinternals/bb897557



这是一个在启动时运行的实用程序(可以设置定期重新运行),并创建一个图像,然后用作桌面背景。


I have seen on our cloud servers, there is some text printed on the desktop dynamically, showing how much memory is available, hard drive space, etc. This is not like a window or gadget or anything, but somehow it's painted directly on the desktop. How can I accomplish this? I've seen only text, but it would be nice if I can draw graphics on the desktop as well.

Here's a sample of what I mean:


EDIT:

Due to someone's misunderstanding of what I was asking, allow me to clarify:

I do not necessarily need to do exactly what this existing tool does. In fact, I am not wanting to print system information at all. I want to print my own information to look the same way, but it does not matter what approach I use to accomplish this (whether using a window, saving a desktop image, drawing to the desktop's canvas, any of those are possible answers). I only want to make something to have a similar end result.

解决方案

There's a very good chance it's not actually painted dynamically, but is instead using something like BGInfo:

http://technet.microsoft.com/en-us/sysinternals/bb897557

This is a utility that runs at startup (and can be set to re-run periodically), and creates an image that's then used as the desktop background.

这篇关于使用Delphi在桌面上打印动态文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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