Arranging Icons 
Author Message
 Arranging Icons

Hey,

I'm working on a project, where i would like to arrange the icons on the
desktop, but not only use the Auto arrange function.
I need to be able to arrange some of the icons to the right and fx some to
the bottom of the screen.

Any idears ???

Thanks
Brian



Wed, 13 Feb 2002 03:00:00 GMT  
 Arranging Icons
On Sat, 28 Aug 1999 17:52:54 +0200, "Brian Hansen"

Quote:

>Hey,

>I'm working on a project, where i would like to arrange the icons on the
>desktop, but not only use the Auto arrange function.
>I need to be able to arrange some of the icons to the right and fx some to
>the bottom of the screen.

>Any idears ???

Brian,

The desktop icons are items in a regular ListView control. So you can
change their osition using some ListView related messages and a couple
of API functions.

First get the ListView hwnd using FindWindow and/or FindWindowEx.

Then use the LVM_GETITEMPOSITION and LVM_SETITEMPOSITION messages to
move the icons around.

Mattias



Sat, 16 Feb 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Arrange Icons in Programgroup

2. Arrange Icons

3. Keeping the user from arranging icons in Listview

4. Help, please! How to arrange icons on Win95 desktop in code?

5. Icon arranging on desktop

6. Strange listview icons arrange

7. Forms Data arranged in rows

8. Custom form - Arranging the order of printing

9. auto arrange

10. Arranging toolbars

11. Re-arrange this code so it works

12. Arranging Listbox items

 

 
Powered by phpBB® Forum Software