Partager via


CPagerCtrl::GetDropTarget

Retrieves the IDropTarget interface for the current pager control.

IDropTarget* GetDropTarget() const;

Requirements

Header: afxcmn.h

Return Value

A pointer to the IDropTarget interface for the current pager control.

Remarks

IDropTarget is one of the interfaces you implement to support drag-and-drop operations in your application.

This method sends the PGM_GETDROPTARGET message, which is described in the Windows SDK. The caller of this method is responsible for calling the Release member of the IDropTarget interface when the interface is no longer needed.

See Also

Reference

CPagerCtrl Class

Hierarchy Chart

PGM_GETDROPTARGET

IDropTarget