www.pudn.com > mfcopentree.rar > BottomTabCtrl.cpp
// BottomTabCtrl.cpp : implementation file
//
#include "stdafx.h"
#include "mfcopen.h"
#include "BottomTabCtrl.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBottomTabCtrl
CBottomTabCtrl::CBottomTabCtrl()
{
}
CBottomTabCtrl::~CBottomTabCtrl()
{
}
BEGIN_MESSAGE_MAP(CBottomTabCtrl, CCJFlatTabCtrl)
//{{AFX_MSG_MAP(CBottomTabCtrl)
// NOTE - the ClassWizard will add and remove mapping macros here.
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBottomTabCtrl message handlers
int CBottomTabCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
CFont font;
font.CreatePointFont(120, "Times New Roman");
// m_bTabsOnBottom = FALSE;
CCJFlatTabCtrl::SetFont(&font, TRUE);
return 0;
}