IShellBrowser::OnViewWindowActive

[Now Supported on Windows NT]

The shell view window calls OnViewWindowActive when the view window or one of its child windows gets the focus.

HRESULT OnViewWindowActive(

IShellView *ppshv // Points to the view's address
);  

Parameters

ppshv

Points to the address of the currently active shell view object.

Return Values

Returns NOERROR if successful or an OLE-defined error value otherwise.

Remarks

The view must pass its IShellView implementation to this routine, although the current version of the Explorer does not use this parameter.

Notes to Callers

The shell view window must call this member before calling IShellBrowser::InsertMenusSB because it will insert a different set of menu items depending on whether the view has the focus.

Notes to Implementors

Lets you know that the view is getting the focus, for example, on a mouse click.

See Also

IShellBrowser