Share via


CHtmlView::SetTop

Call this member function to set the distance between the internal top edge of the WebBrowser control and the top edge of its container

void SetTop( 
   long nNewValue  
);

Parameters

  • nNewValue
    The screen coordinate of the top edge of the main window.

Remarks

Applies to Internet Explorer and WebBrowser.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

CHtmlView::GetTop

IWebBrowser2::put_Top

Other Resources

CHtmlView Members