在 VS2013 中使用 CMfcTabCtrl [英] Using CMfcTabCtrl in VS2013

查看:87
本文介绍了在 VS2013 中使用 CMfcTabCtrl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Visual Studio 2013 中使用 MfcTabCtrl.在 toolbx 中,我看到 TabCtrl 而不是 MfcTabCtrl.

I would like to use MfcTabCtrl in Visual Studio 2013. In the toolbx, i see the TabCtrl but not the MfcTabCtrl.

请问如何在vs2013中使用CMfcTabCtrl?

How can use CMfcTabCtrl please in vs2013 ?

非常感谢,

最好的问候,

尼克斯

推荐答案

CMFCTabCtrl 通常用于框架窗口内.

The CMFCTabCtrl is usually used inside frame windows.

在对话框中,我将使用 CPropertySheet 和 CPropertyPages.Tab ctrl 是隐式创建的.但是AFAIK可以将其子类化,如果您需要的话...

Inside a dialog I would use CPropertySheet and CPropertyPages. The Tab ctrl there is implicit created. But AFAIK it is possible to subclass it, if you need it...

所以通常的方法是使用 CMFCTabCtrl::Create 函数.只需查看 MCF 的示例...

So the usual way is to use the CMFCTabCtrl::Create function. Just look into the samples of the MCF...

这篇关于在 VS2013 中使用 CMfcTabCtrl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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