IShellView2::SelectAndPositionItem method

Selects and positions an item in a Shell View.

Syntax


HRESULT SelectAndPositionItem(
  PCUITEMID_CHILD pidlItem,
  UINT uFlags,
  POINT *point
);

Parameters

pidlItem

Type: PCUITEMID_CHILD

A pointer to an ITEMIDLIST structure that uniquely identifies the item of interest.

uFlags

Type: UINT

One of the _SVSIF constants that specify the type of selection to apply.

point

Type: POINT*

A pointer to a POINT structure containing the new position.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 4.71 or later)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft