我如何codea的进度条为Windows 7也将任务栏上的自我更新? [英] How do I code a progress bar for Windows 7 to also update itself on the taskbar?

查看:176
本文介绍了我如何codea的进度条为Windows 7也将任务栏上的自我更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 7中有一个真棒新功能,应用程序可以通过状态栏报告当前活动的进展情况。例如,复制使用Windows资源管理器文件(S)时,一个进度条层叠在任务栏中的应用程序图标的上方,并显示进度,因为它更新。

Windows 7 has an AWESOME new feature that applications can report the progress of the current activity through the status bar. For example, when copying file(s) using Windows Explorer, a progress bar is layered on top of the application icon in the task bar and the progress is shown as it updates.

什么是暴露进度条的API?有MSDN文档就可以了?

What is the API for exposing the progress bar? Is there MSDN documentation on it?

推荐答案

有一个很好的文章在MSDN杂志有关的新的任务栏的API 的。是的,该功能是真棒: - )

There's a good article in MSDN magazine about the new taskbar APIs. And yes, the feature is awesome :-)

从本质上讲,它是所有关于实施 IFileOperation 。有关于管理code。使用它的好文章<一个href="http://web.archive.org/web/20090611054331/http://msdn.microsoft.com/en-us/magazine/dvdarchive/cc163304.aspx"相对=nofollow>这里。

Essentially, it's all about implementing IFileOperation. There's a good article about using it in managed code here.

这篇关于我如何codea的进度条为Windows 7也将任务栏上的自我更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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