Jump to content


What are Ms Windows' Desktop Icons?


2 replies to this topic

#1 Nautilus

    Senior Member

  • Members
  • PipPipPipPip
  • 325 posts

Posted 06 October 2008 - 05:50 PM

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 : )
-Nautilus

(readin' this? perhaps you should get out more -- give it a thought)


#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 4967 posts
  • LocationBellevue, WA

Posted 06 October 2008 - 06:43 PM

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.
reedbeta.com - developer blog, OpenGL demos, and other projects

#3 roel

    Senior Member

  • Members
  • PipPipPipPip
  • 697 posts

Posted 07 October 2008 - 10:31 AM

http://www.codeproje.../TransIcon.aspx





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users