IShellFolderView::AutoArrange method

[AutoArrange is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Arranges moved icons so that they tend toward the left side of the viewing area and displace other icons with which they come into contact.

Syntax


HRESULT AutoArrange();

Parameters

This method has no parameters.

Return value

Type: HRESULT

Returns S_OK if successful, S_FALSE if the view is not in Auto Arrange mode, or an error value otherwise.

Remarks

This method has the same effect as selecting View | Arrange Icons By | Auto Arrange in Windows Explorer on Windows XP, and also the same as right-clicking the desktop and selecting Arrange Icons By | Auto Arrange on Windows XP or Windows Vista.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows Vista

End of server support

Windows Server 2008

See also

IShellFolderView
IShellFolderView::ArrangeGrid

 

 

Community Additions

ADD
Show:
© 2014 Microsoft