MFC在列表控件内添加控件 [英] mfc adding a control inside list control

查看:76
本文介绍了MFC在列表控件内添加控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在列表控件中添加piture控件,并且必须使该控件看起来像超链接,并且必须从那里转移到给定的URL .... plz详细地排序我的问题

i have to add piture control inside list control and have to make that control looks like a hyperlink and have to divert from there to given url ....plz sort my problem in detail

推荐答案

我找到了这个

显示图像缩略图的列表控件 [
I found this

List Control displaying image thumbnails[^]

by ''google''ing your question ..

The Google Query[^]

You could have done that


请参阅我对类似问题的回答
Please see my answer to a similar question how to use custom draw control?[^] from yesterday.

Creating a custom picture control is another task. You may find some sources here at CP or using Google. However, I would suggest to use one of the existing controls that provide hyperlinks (I don''t understand why you want to use a picture that looks like a hyperlink; a hyper links are text).


看看 [ Matt Weagle [ ^ ],在这里您将学习使用listcontrol的基础知识(确实有帮助).

除此之外,请点击以下链接: http://www.codeproject.com/KB/list/ [ ^ ],您将在codeproject中找到所有listctrl文章,并使用过滤器写链接".这将使带有有关如何使用listctrls内链接的解释的文章出现.

PS:关于您的问题,您绝对应该尝试发布更完整的问题,在这里,人们不愿意看到像您这样的问题:我想这样做,做得详细".

如果您写下到现在为止所做的事情,您尝试过的事情,经过Google搜索的事情,然后返回一个特定的问题,您将会得到更好的结果.

无论如何,希望这会有所帮助. :rose:
Take a look at this[^] article from Matt Weagle[^], here you will learn the basics of working with a listcontrol (it truly helps).

Apart of that, follow this link: http://www.codeproject.com/KB/list/[^] where you will find all the listctrl articles here in codeproject and use the filter writting "link". This will make the articles with explanations on how to use links inside listctrls to appear.

PS: regarding your question, you should definitely try to post more complete questions, here people hates to see a question like yours: "I want to do that, do it in detail".

You will get much better results if you write what you''ve done till now, what you''ve tried, what you''ve googled... and then come back with a specific problem.

Anyway, hope this helps. :rose:


这篇关于MFC在列表控件内添加控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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