使用提升的特权运行时无法更新TaskbarItemInfo.ProgressValue [英] Cannot update TaskbarItemInfo.ProgressValue when running with elevated privileges

查看:70
本文介绍了使用提升的特权运行时无法更新TaskbarItemInfo.ProgressValue的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用VS2010创建了一个简单的应用程序,并在窗口上添加了TaskbarItemInfo,以便能够在Windows 7任务栏中报告进度.当我以正常权限运行我的应用程序时,进度可以正常工作,但是当我运行以管理员身份"时,任务栏不会更新.也不例外.

I've made a simple app, with VS2010, and added the TaskbarItemInfo on my window to be able to report the progression in the WIndows 7 taskbar. When I run my application with normal rights, the progression works fine but when I run "As admin", the taskbar is not updated. There is no exception.


推荐答案

这是设计使然.


这篇关于使用提升的特权运行时无法更新TaskbarItemInfo.ProgressValue的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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