다음을 통해 공유


OnDocWindowActivate method

Called by the MSHTML implementation of IOleInPlaceActiveObject::OnDocWindowActivate.

Syntax

HRESULT retVal = object.OnDocWindowActivate(fActivate);

Parameters

fActivate [in]

Type: BOOL

A BOOL value that indicates the state of the document window.

TRUE

The window is activated.

FALSE

The window is deactivated.

Return value

Type: HRESULT

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