Dela via


CMFCBaseTabCtrl::GetTabRect

Retrieves the size and position of the specified tab.

virtual BOOL GetTabRect(
   int iTab,
   CRect& rect
) const;

Parameters

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

  • [out] rect
    A reference to a CRect object. This method stores the size and position of the tab in this parameter.

Return Value

TRUE if successful; FALSE if the tab index is invalid.

Requirements

Header: afxbasetabctrl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCBaseTabCtrl Class