PDA

View Full Version : What are Ms Windows' Desktop Icons?


Nautilus
10-06-2008, 10:50 AM
This is not game-programming related.

Desktop icons: what are they exactly?
They do not directly belong to the Desktop window itself, but are spawned & controlled by a process named Progman
Its window is named "Program manager". Hide it, and all Desktop icons disappear. So that's where I have to go.

But what are those icons?
They possess no window handle, so they aren't windows.
And they don't seem to be buttons of a toolbar (like the icons shown within the Tray Notification Area).

That should leave only 2 possibilities:
(a) pictures blitted over a rect;
(b) icons of a ListView control (which is (a) all the same, but with some differences)

I believe it's (b): icons of a ListView. But nobody I know can either confirm or deny.

Anyone knows?

Thanks In Advance,
Ciao ciao : )

Reedbeta
10-06-2008, 11:43 AM
Yes, I seem to remember once hearing that they are created by a customized version of a ListView control, which I believe is parented to the actual desktop window.

roel
10-07-2008, 03:31 AM
http://www.codeproject.com/KB/tips/TransIcon.aspx