将工具提示添加到MFC CEdit [英] Adding Tooltips to MFC CEdit

查看:122
本文介绍了将工具提示添加到MFC CEdit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的第一篇文章!

希望有人可以帮我做一些表面上不容易的事情,但是却给我带来很多痛苦.

我正在创建一个对话,将派生的CEdit控件放在对话上.

当我将鼠标悬停在CEdit控件上时,我想要做的就是显示所有工具提示,但是在网上搜索了信息之后,似乎有很多方法可以做到这一点(其中有些我不得不说我不知道​​.''由于我对MFC的相对经验不足,所以无法完全理解.)

有人有一种简单易懂的方式做到这一点吗?

在此先感谢您的帮助.

My first post!

Am hoping someone can help me with something that on the face of it should be fairly trivial to do, but is causing me a lot of pain.

I am creating a dialogue which I am placing derived CEdit controls on.

All I want to be able to do get a tooltip displayed when I hover over a CEdit control, but having scoured the web for info, it seems that there are various methods for doing this (some of which I have to say I don''t entirely understand due to my relative inexperience with MFC).

Does anyone have a straightforward easy to understand way of doing this?

Many thanks in advance for any help.

推荐答案

这是我为CEditbox实现工具提示的方式

http://weseetips.com/tag/ontooltipnotify/ [
This is how i implemented tooltip for my CEditbox

http://weseetips.com/tag/ontooltipnotify/[^]


非常感谢该链接-不幸的是,我们的IT警察已将其归为未分类因此,我将尝试使其畅通无阻并加以观察.

在此期间,我有些工作了-找到了这篇文章:-

http://www.codeguru.com/forum/showthread.php?t=466707

再次感谢您的答复.

大卫
Thanks alot for the link - unfortunately our IT police have blocked it as un-categorized so I shall try and get it unblocked and look at it.

In the meantime I''ve got something working - found this article :-

http://www.codeguru.com/forum/showthread.php?t=466707

Thanks once again for your reply.

David


这篇关于将工具提示添加到MFC CEdit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆