Partager via


CMFCShellListCtrl::GetCurrentShellFolder

Gets a pointer to the currently selected item in the CMFCShellListCtrl object.

const IShellFolder* GetCurrentShellFolder() const;

Return Value

A pointer to the IShellFolder Interface for the selected object.

Remarks

This method returns NULL if no object is currently selected.

Requirements

Header: afxshelllistctrl.h

See Also

Reference

CMFCShellListCtrl Class

Hierarchy Chart