Condividi tramite


CMFCToolBarButton::CanBeStored

Determines whether the button can be stored.

virtual BOOL CanBeStored() const;

Return Value

This method returns TRUE.

Remarks

The framework uses this method to determine whether the button can participate in a drag-and-drop operation.

The default implementation returns TRUE. Override this method if your button cannot be stored as part of a drag-and-drop operation. For more information about drag-and-drop operations, see Drag and Drop (OLE).

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart

Concepts

Drag and Drop (OLE)