有关控制面板项目 Windows 7 的信息提示

发布于 2024-11-29 17:46:36 字数 421 浏览 6 评论 0原文

基于此网站 - http://msdn.microsoft .com/en-us/library/hh127450(v=vs.85).aspx,我能够成功地将我的应用程序添加到控制面板。我的问题是将鼠标悬停在控制面板中的应用程序图标中。我的应用程序没有字符串表,因此直接设置 InfoTip、ValueData:"description" 和 LocalizedString ValueData:"app name" 的字符串。我应该期望当我将鼠标悬停在图标上时应该显示“描述”,但它显示“应用程序名称”,即 LocalizedString ValueData。我将两者的值类型都设置为reg_expand_sz。难道我的做法有问题吗?请帮忙。

Based on this site - http://msdn.microsoft.com/en-us/library/hh127450(v=vs.85).aspx, I was able to successfully add my application to the control panel. My problem is with hovering the mouse into the application icon in control panel. My application doesn't have a string table so directly set the string for InfoTip, ValueData:"description" and LocalizedString ValueData:"app name". I should expect that when I hover the mouse over the icon should display "description" but instead it displays "app name" which is the LocalizedString ValueData. I set the value type of both to reg_expand_sz. Is there something wrong with what I did? Please help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

两人的回忆 2024-12-06 17:46:36

由于 LocalizedString 是可选的,并且您在信息提示中放入了不需要的内容,因此将其完全保留,您应该会看到您正在寻找的结果。该文档对于 LocalizedString 的用途非常模糊。您正在设置 System.ApplicationName,对吧?这将确保该名称正常显示在控制面板上。

Since LocalizedString is optional, and you put something in there that you don't want in your InfoTip, leave it out completely and you should see the result you're looking for. The documentation is pretty vague about what LocalizedString is used for. You're setting System.ApplicationName, right? That will make sure the name appears on Control Panel ok.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文