Contents Index Topic Contents | ||
Previous Topic: IShellBrowser::InsertMenusSB Next Topic: IShellBrowser::QueryActiveShellView |
IShellBrowser::OnViewWindowActive
HRESULT OnViewWindowActive( IShellView *ppshv );Called by the shell view when the view window or one of its child windows gets the focus or becomes active.
- Returns NOERROR if successful, or an OLE-defined error value otherwise.
- ppshv
- Address of the view object's IShellView pointer.
The view must pass its IShellView implementation to this routine, although the current version of Windows Explorer does not use this parameter.
Notes to Callers
The shell view object must call this method before calling the IShellBrowser::InsertMenusSB method. This method will insert a different set of menu items depending on whether the view has the focus.
Notes to Implementers
This method informs the browser that the view is getting the focus (when the mouse is clicked on the view, for example).
See also IShellBrowser
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.