Managing icons on the desktop
We can treat the desk of the Windos 95 as a ListView, but we would need to obtain a handle to access to him
This function gives us the handle to the ListView that manages the desk:
So that this serves?
So... suppose that we want to align all the icons from the desk to the left.
We could make it with the following line of code:
We can make many more things with the desk through sending him messages. To know that type of things, look for in the help of the windows Api help the messages LVM_ (In the file win32.hlp that you will have in some place of your HD).
Note: The message constants are defined in commctrl.pas so... you must add commctrl in the uses of your form
Updated at 17/01/2003 (Uses commctrl)