次の方法で共有


IShellView (Compact 2013)

3/28/2014

This interface is implemented to present a view in the Windows Explorer or folder windows.

Methods

The following table shows the methods for this interface in the order that the compiler calls the methods.

Methods

Description

TranslateAccelerator

Translates accelerator key strokes when a namespace extension's view has the focus.

EnableModeless

Enables or disables modeless dialog boxes. This method is currently not implemented.

UIActivate

Called when the activation state of the view window is changed by an event that is not caused by the shell view itself. For example, if the TAB key is pressed when the tree has the focus, the view should be given the focus.

Refresh

Refreshes the view's contents in response to user input.

CreateViewWindow

Creates a view window. This can be either the right pane of Windows Explorer or the client window of a folder window.

DestroyViewWindow

Destroys the view window.

GetCurrentInfo

Retrieves the current folder settings.

AddPropertySheetPages

Allows the view to add pages to the Options property sheet from the View menu.

SaveViewState

Saves the shell's view settings so the current state can be restored during a subsequent browsing session.

SelectItem

Changes the selection state of one or more items within the shell view window.

GetItemObject

Retrieves an interface that refers to data presented in the view.

Remarks

The object that exposes IShellView is normally created by a call to the IShellFolder::CreateViewObject method. This provides the channel of communication between a view object and outermost frame window of Windows Explorer. The communication involves the translation of messages, the state of the frame window (activated or deactivated), the state of the document window (activated or deactivated), and the merging of menus and toolbar items.

This interface is implemented by namespace extensions that display themselves in Windows Explorer's namespace. This object is created by the IShellFolder object that hosts the view.

These methods are used by the shell view's Windows Explorer window to manipulate objects while they are active.

Requirements

Header

shobjidl.h,
shobjidl.idl

Library

Developer Implemented

See Also

Reference

Shell Interfaces