ComCtl32.dll 版本 6 与 Qt

发布于 2024-08-24 04:35:31 字数 529 浏览 3 评论 0原文

我正在尝试实现气球提示。按照本页上的说明进行操作:

http:// msdn.microsoft.com/en-us/library/bb760252%28VS.85%29.aspx

我设法实现了气球,但气球在Win7下没有使用适当的主题。我在其他地方读到,要使气球使用正确的视觉样式,必须使用 ComCtl32.dll 版本 6。

http://msdn.microsoft.com/en-us/library/ms997646。 aspx

现在,我的开发平台是Qt。有没有办法告诉 Qt 使用 ComCtl32.dll 版本 6?或者我被迫使用 Visual Studio?

I'm trying to implement a balloon tip. By following the instructions on this page:

http://msdn.microsoft.com/en-us/library/bb760252%28VS.85%29.aspx

I managed to implement the balloon, but the balloon is not using the appropriate theme under Win7. I read somewhere else that for the balloon to use the right visual style, ComCtl32.dll Version 6 must be used.

http://msdn.microsoft.com/en-us/library/ms997646.aspx

Now, my development platform is Qt. Is there any way to tell Qt to use ComCtl32.dll Version 6? Or am I forced to use Visual Studio?

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

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

发布评论

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

评论(3

淡写薰衣草的香 2024-08-31 04:35:31

为了使用,您需要一个清单文件(检查您的第二个链接以获取所需的文件)。 Visual Studio 自动执行的操作是将此类文件添加为资源文件。

无论如何,如果您有 Application.exe,您可以在同一文件夹中提供名为 Application.exe.manifest 的外部清单,Windows 应该加载它。

如果您已经安装了 windows sdk(从微软免费下载),您可以使用它提供的 mt.exe 嵌入清单。还有 使用 mingw 提供的工具执行此操作的其他方法

In order to use you need a manifest file (check your second link for the one needed). What visual studio does automatically is add such file as a resource file.

In any case if you have an Application.exe you can provide an external manifest named Application.exe.manifest in the same folder, and windows should load it.

If you have installed windows sdk (free download from microsoft) you can use mt.exe provided by it to embed a manifest. Also there are other ways for doing this with tools provided by mingw.

鲸落 2024-08-31 04:35:31

既然你使用Qt,为什么不使用 QToolTip?

Since you use Qt, why don't you use a QToolTip?

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