BCGControlBar Pro for MFC
virtual BOOL CBCGPWebView2Ctrl::Create ( const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
DWORD  dwStyle = WS_CHILD|WS_VISIBLE,
const CBCGPWebView2CtrlOptions pOptions = NULL,
CCreateContext *  pContext = NULL 
)
virtual

Creates a WebView2 control.

Parameters
rectSpecifies the size and position of the window.
pParentWndA pointer to the parent window of the control.
nIDThe ID number of the control.
dwStyleSpecifies the window style attributes. By default, the WS_VISIBLE and WS_CHILD Windows styles are set.
pOptionsA pointer to CBCGPWebView2CtrlOptions. NULL by default.
pContextA pointer to a CCreateContext. NULL by default.