I want a class written in Visual Studio 2003, [url removed, login to view] (C# acceptable) that
can read the position of the desktop icons into a collection called DesktopIconCollection.
The DesktopIconCollection should contain instances of DeskTopIcon that has the properties position (x and y) and name.
DesktopIconCollection should provide a SaveToDesktop-function which takes a DesktopIconCollection and moves the corresponding icon on the desktop to the new position.
DesktopIconCollection should also provide a LoadFromDesktop-function which returns a DesktopIconCollection containing all the DeskTopIcon:s on the desktop.
I have a C++ code example for how to find the positions of the icons. The example uses SendMessage to a ListView to extract the icons. The code sample that I have matches icons on index (if I am reading it right), you should rewrite to match on name.
I believe that you need skill in the Windows API and crossprocess communication to be able to write this code.
If it is impossible to create in .Net-environment alone I will accept a hybrid solution. C++-dll communicating with .Net.
Application should work in Win 2000, WinXP and above.