BCGControlBar Pro for MFC
CBCGPWebView2View

Detailed Description

CBCGPWebView2View encapsulates CBCGPWebView2Ctrl. Its interface closely resembles that of CHtmlView.

Inherits CView.

Public Member Functions

 GetHeightRetrieves the height of the WebView2 window.
 
 GetLeftRetrieves the screen coordinate of the left edge of the WebView2 window.
 
 GetLocationNameRetrieves the name of the resource that WebBrowser is currently displaying
 
 GetSilentIndicates whether any dialog boxes can be shown.
 
 GetSourceThe HTML source code of the web page.
 
 GetStatusBarIndicates whether the WebView2's status bar is visible.
 
 GetTopRetrieves the screen coordinate of the top edge of the WebView2 window.
 
 GetVisibleRetrieves a value indicating whether the object is visible or hidden.
 
 GetWebView2CtrlRetrieves a pointer to CBCGPWebView2Ctrl object.
 
 GetWidthRetrieves the width of the WebView2 window.
 
 GoBackNavigates to the previous item in the history list.
 
 GoForwardNavigates to the next item in the history list.
 
 GoHomeNavigates to the current home or start page.
 
 NavigateNavigates to the resource identified by a URL, or to the file identified by a full path.
 
 RefreshReloads the current file.
 
 SetHeightSets the height of the WebView2 window.
 
 SetLeftSets the horizontal position of the WebView2 window.
 
 SetSilentSets a value to determine whether the control will display dialog boxes.
 
 SetStatusBarSets a value to determine whether the WebView2's status bar is visible.
 
 SetTopSets the vertical position of the WebView2 window.
 
 SetVisibleSets a value indicating whether the object is visible or hidden.
 
 SetWidthSets the width of the WebView2 window.
 
 StopStops opening a file.
 

Protected Member Functions

 CBCGPWebView2ViewDefault constructor.