tooltip anywhere in the screen— vc++ express edition

大兔子大兔子 提交于 2019-12-23 03:07:05

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/5730340/tooltip-anywhere-in-the-screen-vc-express-edition

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!