次の方法で共有


OnCreate method

Occurs when a new window is created for a frame.

Syntax

HRESULT retVal = object.OnCreate(pUnkDestination, cbCookie);

Parameters

  • pUnkDestination [in]
    Type: IUnknown

    The address of an IUnknown interface that specifies the destination of the new frame.

  • cbCookie [in]
    Type: unsigned long

    An 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.