向标签添加按钮(如在Firefox中) [英] Add button to the tab ( like in Firefox )
问题描述
我想创建在其选项卡中包含按钮的选项卡控件。有点像这个 [ ^ ]图片。
标签已添加关闭按钮,我需要这样的东西。我还必须启用视觉样式。
英语不是我的母语,因此我无法为Google制定有效的搜索条件。我什么也没发现,甚至没有一个例子。我得到的所有搜索结果都是通过子对话框向选项卡控件的主体添加控件。我在MSDN上找不到任何内容,所以我决定在这里寻求帮助。
再次,我的问题是:
如何在标签上添加按钮,如上图所示?
谢谢。
I want to create tab control that has button inside it's tab. Something like this[^] image.
Tab has close button added and I need something like this. I also have to enable Visual Styles.
English is not my native, so I was not able to formulate efficient search criteria for Google. I found nothing, not even a single example. All I get as a search result is adding controls to the body of the tab control via child dialog box. I found nothing on MSDN either so I decided to ask for help here.
Again, my question is:
How do you add button to the tab, like in the image above?
Thank you.
推荐答案
我相信你可以找到你需要的东西 CP知识库 [ ^ ]。
这里你有两篇文章:
TabCtrl [ ^ ]
自定义选项卡控件,选项卡式框架d选项卡式MDI [ ^ ]
I'm sure you can find what you need on CP KnowledgeBase[^].
Here you've got two articles:
TabCtrl[^]
Custom Tab Controls, Tabbed Frame and Tabbed MDI[^]
这篇关于向标签添加按钮(如在Firefox中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!