Export (0) Print
Expand All

IShellFolderView::ArrangeGrid method

[ArrangeGrid 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 align to an invisible grid.

Syntax


HRESULT ArrangeGrid();

Parameters

This method has no parameters.

Return value

Type: HRESULT

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

Remarks

This method has the same effect as selecting View | Arrange Icons By | Align to Grid in Windows Explorer on Windows XP, and also the same as right-clicking the desktop and selecting Arrange Icons By | Align to Grid 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::AutoArrange

 

 

Community Additions

ADD
Show:
© 2014 Microsoft