Partager via


CShellManager Class

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

class CShellManager : public CObject

Members

Public Constructors

Name

Description

CShellManager::CShellManager

Constructs a CShellManager object.

Public Methods

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.

Remarks

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.

Inheritance Hierarchy

CObject

   CShellManager

Requirements

Header: afxshellmanager.h

See Also

Reference

Hierarchy Chart

Other Resources

MFC Classes