CMFCToolBarDropTarget Class

Implements a drop target for CMFCToolBar objects.

class CMFCToolBarDropTarget : public COleDropTarget

Members

Public Constructors

Name

Description

CMFCToolBarDropTarget::CMFCToolBarDropTarget

Default constructor.

CMFCToolBarDropTarget::~CMFCToolBarDropTarget

Destructor.

Public Methods

Name

Description

CMFCToolBarDropTarget::OnDragEnter

Called by the framework when the cursor is first dragged into the window. (Overrides COleDropTarget::OnDragEnter.)

CMFCToolBarDropTarget::OnDragLeave

Called by the framework when the cursor leaves the window while a dragging operation is in effect. (Overrides COleDropTarget::OnDragLeave.)

CMFCToolBarDropTarget::OnDragOver

Called by the framework when the cursor is dragged over the window. (Overrides COleDropTarget::OnDragOver.)

CMFCToolBarDropTarget::OnDropEx

Called by the framework when a drop operation is to occur. (Overrides COleDropTarget::OnDropEx.)

CMFCToolBarDropTarget::Register

 

Remarks

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

Inheritance Hierarchy

CObject

   CCmdTarget

      COleDropTarget

         CMFCToolBarDropTarget

Requirements

Header: afxtoolbardroptarget.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBar Class

Other Resources

Classes (MFC Feature Pack)