Page 1 of 1

Show Desktop Node in ExplorerTree/List

Posted: Fri Jun 18, 2004 9:48 am
by POedBoy
Am I just being thick here?

I don't see a "built in" way of having the users desktop show up in either the explorer treeview or list gadgets. Is there any way around this within pure? And how would this be done using win32? I'm looking around on msdn, but I feel like I'm going around in circles :/

If anyone can help, it would be greatly appreciated :)

Posted: Fri Jun 18, 2004 12:35 pm
by freak
You won't find anything around msdn, because this gadget is selfmade.
There is no win32 control like that.
The desktop as a seperate item is not supported. Only MyDocuments is.

However, you should be able to get the location of the users desktop
folder on disk and display that with SetGadgetText(). Search for
"SHGetSpecialFolderPath" or "SHGetSpecialFolderLocation" here in the forum.

Timo