[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.
This method has no parameters.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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.
Minimum supported client
|Windows XP [desktop apps only]|
Minimum supported server
|Windows Server 2003 [desktop apps only]|
End of client support
End of server support
|Windows Server 2008|