Click here to Skip to main content
15,922,015 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threads Pin
Igor Vigdorchik31-Dec-05 13:40
Igor Vigdorchik31-Dec-05 13:40 
GeneralRe: Threads Pin
AndrewPeters31-Dec-05 14:34
AndrewPeters31-Dec-05 14:34 
GeneralRe: Threads Pin
Igor Vigdorchik31-Dec-05 14:51
Igor Vigdorchik31-Dec-05 14:51 
GeneralRe: Threads Pin
AndrewPeters31-Dec-05 15:16
AndrewPeters31-Dec-05 15:16 
GeneralRe: Threads Pin
Igor Vigdorchik31-Dec-05 15:29
Igor Vigdorchik31-Dec-05 15:29 
GeneralRe: Threads Pin
Bassam Saoud1-Jan-06 0:38
Bassam Saoud1-Jan-06 0:38 
QuestionFolder View Pin
rakesh_nits30-Dec-05 19:26
rakesh_nits30-Dec-05 19:26 
AnswerRe: Folder View Pin
Dave Kreskowiak31-Dec-05 5:26
mveDave Kreskowiak31-Dec-05 5:26 
There is no documented relationship between which bag under ShellNoRoam belongs to which folder. You actually have to go through the Shell's Namespace interface on the ShellFolder you want to get this information.

I hope you're familiar with the Win32 Shell API's. If not, Shell Basics[^].

From the MSDN Gospel:
Objects that support IShellFolder are usually created by other Shell folder objects. To retrieve a folder's IShellFolder interface, you normally start by calling SHGetDesktopFolder. This function returns a pointer to the desktop's IShellFolder interface. You can then use its methods to retrieve an IShellFolder interface for a particular namespace folder.

Note: IShellFolder methods only accept PIDLs that are relative to the folder. Some IShellFolder methods, such as IShellFolder::GetAttributesOf, only accept single-level PIDLs. In other words, the PIDL must contain only a single SHITEMID structure, plus the terminating NULL. When you enumerate the contents of a folder with IEnumIDList, you will receive PIDLs of this form. Other methods, such as IShellFolder::CompareIDs, accept multi-level PIDLs. These PIDLs can have multiple SHITEMID structures and identify objects one or more levels below the parent folder. Check the reference to be sure what type of PIDL can be accepted by a particular method.



You can make a quick check to see if what you want to do can be done using the desktop.ini file in each folder by checking out this[^].


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Folder View Pin
rakesh_nits2-Jan-06 2:49
rakesh_nits2-Jan-06 2:49 
QuestionWhich is the best book to learn C# Pin
Rajkamal_dfine30-Dec-05 18:01
Rajkamal_dfine30-Dec-05 18:01 
AnswerRe: Which is the best book to learn C# Pin
S. Akif Kamal30-Dec-05 21:32
S. Akif Kamal30-Dec-05 21:32 
Answersend me the C#.NET step by step programming. Pin
ChandrasekharCh30-Dec-05 23:52
ChandrasekharCh30-Dec-05 23:52 
GeneralRe: send me the C#.NET step by step programming. Pin
Colin Angus Mackay31-Dec-05 1:40
Colin Angus Mackay31-Dec-05 1:40 
GeneralRe: send me the C#.NET step by step programming. Pin
naglbitur31-Dec-05 4:58
naglbitur31-Dec-05 4:58 
AnswerRe: Which is the best book to learn C# Pin
N.Byarley31-Dec-05 19:03
N.Byarley31-Dec-05 19:03 
QuestionInsert/remove break point at runtime! Pin
tiancaidao30-Dec-05 17:12
tiancaidao30-Dec-05 17:12 
QuestionBest Way To Convert From Screen Coords To My Own Pin
...---...30-Dec-05 15:48
...---...30-Dec-05 15:48 
AnswerRe: Best Way To Convert From Screen Coords To My Own Pin
Curtis Schlak.30-Dec-05 15:52
Curtis Schlak.30-Dec-05 15:52 
GeneralRe: Best Way To Convert From Screen Coords To My Own Pin
...---...31-Dec-05 9:02
...---...31-Dec-05 9:02 
Questionhow to create a custom scrollbar? Pin
Sasuko30-Dec-05 12:38
Sasuko30-Dec-05 12:38 
AnswerRe: how to create a custom scrollbar? Pin
AndrewPeters31-Dec-05 14:35
AndrewPeters31-Dec-05 14:35 
QuestionTEXTURE PROBLEM Pin
_Comet_Keeper_30-Dec-05 11:29
_Comet_Keeper_30-Dec-05 11:29 
AnswerRe: TEXTURE PROBLEM Pin
Judah Gabriel Himango31-Dec-05 11:18
sponsorJudah Gabriel Himango31-Dec-05 11:18 
Questioncrosshair Pin
Sam 200630-Dec-05 10:59
Sam 200630-Dec-05 10:59 
AnswerRe: crosshair Pin
Dave Kreskowiak30-Dec-05 16:18
mveDave Kreskowiak30-Dec-05 16:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.