在Winforms的选项卡控件选项卡标题区域中绘制控件 [英] Draw controls in tab control tab header area in Winforms

查看:114
本文介绍了在Winforms的选项卡控件选项卡标题区域中绘制控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图为我的标签控件在标签标题区域的左侧添加一些控件,但不影响标签页区域(例如Internet Explorer).我认为我必须要由所有者来绘制控件,但是我不确定从哪里开始.谁能提供任何建议?

I am trying to add some controls to the left of the tab header area for my tab control but not affect the tab page area (like internet explorer). I think I would have to owner draw the control, but I'm not sure where to start. Can anyone offer any suggestions?

推荐答案

在询问伴侣之前,您是否进行过搜索? 外面有很多文章.我认为以下链接正是您想要的,看看吧.

Have you searched before you ask you question mate ?!! there are many articles outside. I think the following links are exactly what you want, take a look.

Y(et)A(nother)TabControl:带有所有者绘制标签的自定义标签控件

TabStrip控件

希望获得帮助.

这篇关于在Winforms的选项卡控件选项卡标题区域中绘制控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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