共用方式為


CDockablePane::GetTabArea

Retrieves the tab area for the pane.

virtual void GetTabArea(
   CRect& rectTabAreaTop,
   CRect& rectTabAreaBottom
) const;

Parameters

  • [in] rectTabAreaTop
    GetTabArea fills this variable with the tab area if tabs are located at the top of the pane. If tabs are located at the bottom of the pane, this variable is filled with an empty rectangle.

  • [in] rectTabAreaBottom
    GetTabArea fills this variable with the tab area if tabs are located at the bottom of the pane. If tabs are located at the top of the pane, this variable is filled with an empty rectangle.

Remarks

This method is used only in classes that are derived from CDockablePane and have tabs. For more information, see CTabbedPane::GetTabArea and CMFCOutlookBar::GetTabArea.

Requirements

Header: afxdockablepane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart