在CMFCTabCtrl的标题页中获取图标区域? [英] Get Icon area in tab header of CMFCTabCtrl?

查看:184
本文介绍了在CMFCTabCtrl的标题页中获取图标区域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要在CMFCTabCtrl的标题页中添加复选框。由于我没有找到任何内容,我计划在标题页中设置图标。


点击图标我需要显示勾选标记或没有勾号的复选框。


那么如何确定该点位于图标区域?




解决方案



那么如何确定这一点是在图标区域?






TCHT_ONITEMICON

以下是如何使用的示例:
https://groups.google.com/forum/#!topic/comp.os .ms-windows.programmer.win32 / ariqyiZaldM


问候,Guido


Hi,

I need to add checkbox in tab header of CMFCTabCtrl. Since I am not finding anything for it, I planned to set icon in tab header.

when click on icon i need to display checkbox with tickmark or without tickmark.

So how to determine that the point is on icon area?

解决方案

So how to determine that the point is on icon area?

TCHT_ONITEMICON

Here is an example how to use: https://groups.google.com/forum/#!topic/comp.os.ms-windows.programmer.win32/ariqyiZaldM

Regards, Guido


这篇关于在CMFCTabCtrl的标题页中获取图标区域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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