OnCreate method
Occurs when a new window is created for a frame.
Syntax
HRESULT retVal = object.OnCreate(pUnkDestination, cbCookie);
Parameters
pUnkDestination [in]
Type: IUnknownThe address of an IUnknown interface that specifies the destination of the new frame.
cbCookie [in]
Type: unsigned longAn integer that specifies a cookie.
Remarks
The OnCreate method is called when a new window is created for a frame while the browser is navigating.