SelectItem MethodSelectItem Method*
*



Contents  *



Index  *Topic Contents
*Previous Topic: SelectedItems Method
*Next Topic: ShellFolderView object events

SelectItem Method

Description

Sets the selection state of an item in the view.

Syntax

object.SelectItem vItem, dwFlags

ParameterDescription
object Required. An object expression that evaluates to a ShellFolderView object.
vItem Required. The FolderItem object for which the selection state will be set.
dwFlags Required. A set of flags that indicate the new selection state. This can be one or more of the following values:
0 Deselect the item.
1 Select the item.
3 Put the item in edit mode.
4 Deselect all but the specified item.
8 Ensure the item is displayed in the view.
16 Give the item the focus.


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