Partager via


CMFCToolBarButton::CompareWith

Compares this instance with the provided CMFCToolBarButton object.

virtual BOOL CompareWith(
   const CMFCToolBarButton& other
) const;

Parameters

  • [in] other
    Reference to the object to compare with this instance.

Return Value

Nonzero if the provided object equals the value of this instance; otherwise, 0.

Remarks

The default implementation determines whether the command ID of the provided object equals the command ID of this instance. Override this method if you must perform additional processing to determine whether two CMFCToolBarButton objects are equal.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart