16,551
社区成员
发帖
与我相关
我的任务
分享
void CTabControlView::OnLocation()
{
UpdateData ();
CMFCTabCtrl::Location location;
switch (m_nTabLocation)
{
case 1:
location = CMFCTabCtrl::LOCATION_BOTTOM;
break;
default:
location = CMFCTabCtrl::LOCATION_TOP;
}
m_wndTab.SetLocation (location);
m_wndTab.RecalcLayout ();
m_wndTab.RedrawWindow ();
theApp.WriteInt (_T("TabLocation"), m_nTabLocation);
}