View Single Post
  #6  
Old June 4th 06, 07:12 AM posted to microsoft.public.win98.display.general
external usenet poster
 
Posts: n/a
Default Desktop Icons Position

Can't remember the key offhand but it's part of a much larger collection of
binary data all stored under one value in the registry.

This info is confirmed as it is included as part of a program included in
both source and binary on included CD from a book titled Advanced Windows
Programming 3rd edition by Jeffrey Richter. Can remember checking at time.
Also seem to remember it's only "saved" when shutting down/restarting which
is why crash and reboot is flaky.

If I remember right, he uses a technique of injecting a dll into Explorer's
memery space in order to get the runtime handle for the hidden listbox used
to position the icons. He saves and restores that information in his own
key. I also seem to remember this listbox actually uses x,y coords as you'd
expect.

I normally don't include attachments but as the program is YEARS old and
included source code etc. I hope he don't mind? Copied right off my system
now as I have it setup to insure icons are as I expect upon startup. Works
under all Windows vers I've tried, 98, SE, 2000 & XP.

It only does the one save/restore, no stacking or choosing which settings to
use.

I can probably dig out the book and either scan the source or find the
original cd if neccessary and post but I'll ignore request via email.

"thanatoid" wrote in message
...
Hello and sorry to interrupt the flow...

I've asked this before, and never got an answer. Maybe NO ONE
knows.
All I got was links to WinTidy. I am aware of its existence, was
before, and also know of other programs which handle this
problem.

The QUESTION I would like answered - NO LINKS TO PROGRAMS WHICH
TAKE CARE OF IT PLEASE - is WHERE IN THE WORLD does Windows
store the desktop icon position information???

I have looked everywhere and I can not find it. It has to be
SOMEWHERE, right? One would think registry, but I must have
looked at every damn key and value and I can't find it.

W H E R E ???!?!
W H E R E ???!?!

Someone PLEASE tell me.

--
thanatoid-Tip® #22
Give yourself until about 30. If things don't get rolling by
then,
consider saving yourself another 40 years of pain and misery.