IShellBrowser::OnViewWindowActive method (shobjidl_core.h)
Called by the Shell view when the view window or one of its child windows gets the focus or becomes active.
HRESULT OnViewWindowActive( IShellView *pshv );
Address of the view object's IShellView pointer.
Returns S_OK if successful, or a COM-defined error value otherwise.
The view must pass its IShellView implementation to this routine, although the current version of Windows Explorer does not use this parameter.IShellBrowser::InsertMenusSB method. This method will insert a different set of menu items depending on whether the view has the focus.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|
|DLL||Shell32.dll (version 4.0 or later)|