IExplorerBrowserEvents::OnViewCreated method (shobjidl_core.h)

Notifies clients that the view of the Explorer browser has been created and can be modified.

Syntax

HRESULT OnViewCreated(
  [in] IShellView *psv
);

Parameters

[in] psv

Type: IShellView*

A pointer to an IShellView.

Return value

Type: HRESULT

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

Remarks

An Explorer browser calls this method to enable the client to perform any modifications to the Explorer browser view before it is shown; for example, to set view modes or folder flags.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)