CHtmlView::SetRegisterAsDropTarget

 

Call this member function to set a value indicating whether the WebBrowser control is registered as a drop target for navigation.

Syntax

      void SetRegisterAsDropTarget(
   BOOL bNewValue 
);

Parameters

  • bNewValue
    Determines if the WebBrowser control is registered as a drop target for navigation. If nonzero, the object is registered as a drop target; if zero, it is not a drop target.

Remarks

Applies to Internet Explorer and WebBrowser.

Requirements

Header: afxhtml.h

See Also

CHtmlView Class
Hierarchy Chart
CHtmlView::GetRegisterAsDropTarget
IWebBrowser2::put_RegisterAsDropTarget