Freigeben über


OnFrameWindowActivate method

Called by the MSHTML implementation of IOleInPlaceActiveObject::OnFrameWindowActivate.

Syntax

HRESULT retVal = object.OnFrameWindowActivate(fActivate);

Parameters

fActivate [in]

Type: BOOL

A BOOL value that indicates the state of the container's top-level frame window.

TRUE

The frame window is activated.

FALSE

The frame window is deactivated.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.