Поделиться через


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 
);

Параметры

  • 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.

Возвращаемое значение

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

Заметки

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

Требования

Header: afxhtml.h

См. также

Основные понятия

CHtmlView Class

CHtmlView Members

Hierarchy Chart