Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IShellFolderView::SetItemPos method

[This method has been deprecated. Use IFolderView::SelectAndPositionItems instead.]

Sets the position of the given item.

Syntax


HRESULT SetItemPos(
  [in] PCUITEMID_CHILD pidl,
  [in] POINT           *ppt
);

Parameters

pidl [in]

Type: PCUITEMID_CHILD

A PIDL that corresponds to the item for which the position is being set.

ppt [in]

Type: POINT*

A pointer to a structure that contains the new coordinates of the item relative to the ListView contained in the view.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

 

 

Community Additions

ADD
Show:
© 2015 Microsoft