Partager via


CMFCTabCtrl::EnsureVisible

Ensures that a tab is visible.

virtual BOOL EnsureVisible(
   int iTab 
);

Parameters

  • [in] iTab
    The zero-based index of a tab.

Return Value

TRUE if it is successful; FALSE if the iTab parameter index is invalid.

Remarks

Use this method to guarantee that the specified tab is visible. The tab control will scroll if it is required.

Requirements

Header: afxtabctrl.h

See Also

Reference

CMFCTabCtrl Class

Hierarchy Chart