在MFC中,如何将CMFCToolBarImages转换为CImageList? [英] In MFC, how to convert CMFCToolBarImages to CImageList?

查看:105
本文介绍了在MFC中,如何将CMFCToolBarImages转换为CImageList?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在MFC中,如何将CMFCToolBarImages转换为CImageList?

提前致谢

推荐答案

您好
sgrm123

感谢您在此发帖。

很抱歉告诉您CMFCToolBarImages和CImageList是不同的类,

I am sorry to tell you that the CMFCToolBarImages and CImageList are different class,

您无法将CMFCToolBarImages转换为CImageList类。

You cannot convert CMFCToolBarImages to CImageList class.

从继承层次结构我们知道它们是继承自
CObject

From the Inheritance Hierarchy we know that They are inherited from CObject.

有时您可以在 CImageList和
CMFCToolBarImages

我希望回复对您有所帮助。

I hope the reply would be helpful for you.


这篇关于在MFC中,如何将CMFCToolBarImages转换为CImageList?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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