CHtmlView::GetTopLevelContainer
Call this member function to determine whether Internet Explorer is the top-level container of the WebBrowser control.
BOOL GetTopLevelContainer( ) const;
Nonzero the container is the top-level container; otherwise zero.
Applies to Internet Explorer and WebBrowser.
Header: afxhtml.h