Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CShellManager Class

Implements several methods that enable you to work with pointers to identifier lists (PIDLs).

class CShellManager : public CObject

Name

Description

CShellManager::CShellManager

Constructs a CShellManager object.

Name

Description

CShellManager::BrowseForFolder

Displays a dialog box that enables the user to select a shell folder.

CShellManager::ConcatenateItem

Concatenates two PIDLs.

CShellManager::CopyItem

Creates a new PIDL and copies the supplied PIDL to it.

CShellManager::CreateItem

Creates a new PIDL of the specified size.

CShellManager::FreeItem

Deletes the supplied PIDL.

CShellManager::GetItemCount

Returns the number of items in the supplied PIDL.

CShellManager::GetItemSize

Returns the size of the supplied PIDL.

CShellManager::GetNextItem

Returns the next item from the PIDL.

CShellManager::GetParentItem

Retrieves the parent item of the supplied item.

CShellManager::ItemFromPath

Retrieves the PIDL for the item identified by the supplied path.

The methods of the CShellManager class all deal with PIDLs. A PIDL is a unique identifier for a shell object.

You should not create a CShellManager object manually. It will be created automatically by the framework of your application. However, you should call CWinAppEx::InitShellManager during the initialization process of your application. To get a pointer to the shell manager for your application, call CWinAppEx::GetShellManager.

Header: afxshellmanager.h

Reference

Other Resources

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.