Condividi tramite


CMFCToolBarButton::IsLastInGroup

Specifies whether the button is in the last position in its button group.

virtual BOOL IsLastInGroup() const;

Return Value

TRUE if the button is the last button in its button group; otherwise FALSE.

Remarks

This method defines a button group as a neighboring set of buttons that are positioned on the same row and are bounded by separators or the border of the toolbar This method returns FALSE if the toolbar button has no parent toolbar or the toolbar button refers to the Customize button. For more information about the Customize button, see CMFCToolBar::GetCustomizeButton.

Call the CMFCToolBarButton::IsFirstInGroup method to determine whether the button is in the first position in its button group.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart

CMFCToolBar::GetCustomizeButton

CMFCToolBarButton::IsFirstInGroup