共用方式為


CHtmlView::GetRegisterAsDropTarget

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

BOOL GetRegisterAsDropTarget( ) const;

Return Value

Nonzero if the browser is registered as a drop target; otherwise zero.

Remarks

Applies to Internet Explorer and WebBrowser.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

CHtmlView::SetRegisterAsDropTarget

IWebBrowser2::get_RegisterAsDropTarget

Other Resources

CHtmlView Members