有关控制面板项目 Windows 7 的信息提示
基于此网站 - 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于 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.