IShellViewIShellView*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IShellPropSheetExt::ReplacePage
*Next Topic: IShellView::AddPropertySheetPages

IShellView


The IShellView interface is implemented to present a view in the Windows Explorer or folder windows. The object that exposes IShellView is created by a call to the IShellFolder::CreateViewObject method. This provides the channel of communication between a view object and Windows Explorer's outermost frame window. 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.

When to Implement

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.

When to Use

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

IShellView is derived from IOleWindow. The following are the methods specific to IShellView:
IShellView Methods Description
AddPropertySheetPages Allows the view to add pages to the Options property sheet.
CreateViewWindow Creates the view window.
DestroyViewWindow Destroys the view window.
EnableModeless Enables or disables modeless dialog boxes. Not in use by Windows Explorer at this time.
EnableModelessSV Not currently in use.
GetCurrentInfo Returns the current folder settings.
GetItemObject Allows callers to get an object that represents something in the view.
Refresh Refreshes the display in response to user input.
SaveViewState Saves the shell's view settings so the current state can be restored during a subsequent browsing session.
SelectItem Changes the state of items within the shell view window.
TranslateAccelerator Translates accelerator key strokes when a namespace extension's view has the focus.
UIActivate Called whenever the activation state of the view window is changed by an event not caused by the shell view itself.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.