Share via


CHtmlView::OnGetDropTarget

Called by Internet Explorer or MSHTML when it is being used as a drop target to allow the host to supply an alternative IDropTarget.

virtual HRESULT OnGetDropTarget( 
   LPDROPTARGET pDropTarget, 
   LPDROPTARGET* ppDropTarget  
);

Parameters

  • pDropTarget
    IDropTarget Internet Explorer or MSHTML proposes to use.

  • ppDropTarget
    Address of the IDropTarget that receives the IDropTarget interface pointer the host wants to provide.

Return Value

See IDocHostUIHandler::GetDropTarget in the Windows SDK for a list of return codes.

Remarks

Override OnGetDropTarget to react to the GetDropTarget notification from the Microsoft Web Browser control. See IDocHostUIHandler::GetDropTarget in the Windows SDK for more information.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart