屏幕任意位置的工具提示——vc++ express edition [英] tooltip anywhere in the screen-- vc++ express edition
问题描述
我尝试寻找用于在屏幕的任何位置显示工具提示的示例代码,但主要是使用/包括 MFC 标头
我发现 this 及其显示工具提示的方式正是我所需要的,但是当我尝试在 VC++ express 中使用它时,我无法重建/研究它>
问:有没有一种方法可以使用 VC++ Express Edition 对其进行简单的编码?任何人都可以发布工作样本
注意:我在 C++ 中特别需要这个,尽管我的工具在 VC++ express 中受到限制
谢谢
尝试使用 WTL.这是一个围绕 WINAPI 的轻量级包装器.在那里您可以找到 CToolTipCtrl 类和一些示例.我想它应该与 VC++ express 兼容.
I tried looking for sample code for displaying a tooltip anywhere in the screen, but mostly are using/including MFC headers
I found this and its way of displaying the tooltip is what i need, but i cant rebuild/study the source when i try to use it in VC++ express
Q: is there a way to simply code it using VC++ Express Edition? Anyone can post a working sample
note: I specifically need this in C++, though my tool is limited in VC++ express
thank you
Try to use WTL. This is a lightweight wrapper around WINAPI. There you can find CToolTipCtrl class and some samples. I guess it should be compatible with VC++ express.
这篇关于屏幕任意位置的工具提示——vc++ express edition的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!