tabStyle |= TCS_VERTICAL|TCS_RIGHT;
- if ( !MSWCreate(GetId(), GetParent(), WC_TABCONTROL,
- this, NULL, pos.x, pos.y, size.x, size.y,
- tabStyle, NULL, 0) )
+ if ( !MSWCreateControl(WC_TABCONTROL, tabStyle, pos, size) )
{
return FALSE;
}
if ( parent != NULL )
parent->AddChild(this);
- SubclassWin(m_hWnd);
-
return TRUE;
}