Share via


CMFCToolBarDropSource Class

Implements a drop source for CMFCToolBar objects.

class CMFCToolBarDropSource : public COleDropSource

Members

Public Constructors

Name

Description

CMFCToolBarDropSource::CMFCToolBarDropSource

Default constructor.

CMFCToolBarDropSource::~CMFCToolBarDropSource

Destructor.

Public Methods

Name

Description

CMFCToolBarDropSource::GiveFeedback

Called by the framework after calling COleDropTarget::OnDragOver or COleDropTarget::DragEnter. (Overrides COleDropSource::GiveFeedback.)

CMFCToolBarDropSource::OnBeginDrag

Called by the framework when an event occurs that could begin a drag operation, such as pressing the left mouse button. (Overrides COleDropSource::OnBeginDrag.)

CMFCToolBarDropSource::QueryContinueDrag

After dragging has begun, this function is called repeatedly by the framework until the drag operation is either canceled or completed. (Overrides COleDropSource::QueryContinueDrag.)

Remarks

This class supports the MFC framework infrastructure and is not intended to be used directly from your code.

Inheritance Hierarchy

CObject

   CCmdTarget

      COleDropSource

         CMFCToolBarDropSource

Requirements

Header: afxtoolbardropsource.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBar Class

Other Resources

Classes (MFC Feature Pack)