COleDropTarget::Revoke

Call this function before destroying any window that has been registered as a drop target through a call to Register to remove it from the list of drop targets.

virtual void Revoke( );

Remarks

This function is called automatically from the OnDestroy handler for the window that was registered, so it is usually not necessary to call this function explicitly.

For more information, see RevokeDragDrop in the Windows SDK.

Requirements

Header: afxole.h

See Also

Reference

COleDropTarget Class

Hierarchy Chart

Other Resources

COleDropTarget Members