16,548
社区成员




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);
}