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

Concepts

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::GetTop

IWebBrowser2::put_Top