在 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...