Hi, im trying to work with the shell and paths everywhere. Everything works fine for navigating through PIDLs, but when i access "My Documents" from the Desktop, it gives me the display name of:
"D:\My Documents" (the correct location, but i want it to appear as just "My Documents")
This is the code im using, for everything else it works fine. Displaying "Desktop", "My Computer", "C:\Documents And Settings" etc):
pDesktop->GetDisplayNameOf(pidlChoose, SHGDN_FORADDRESSBAR | SHGDN_FORPARSING, &str);
Any suggestions for getting this to work are greatfully received.
Skute
"There are 10 types of people in this World, those that understand binary, and those that don't!"
"D:\My Documents" (the correct location, but i want it to appear as just "My Documents")
This is the code im using, for everything else it works fine. Displaying "Desktop", "My Computer", "C:\Documents And Settings" etc):
pDesktop->GetDisplayNameOf(pidlChoose, SHGDN_FORADDRESSBAR | SHGDN_FORPARSING, &str);
Any suggestions for getting this to work are greatfully received.
Skute
"There are 10 types of people in this World, those that understand binary, and those that don't!"