CMFCShellListCtrl::DisplayFolder

Displays a list of items that are contained in the provided folder.

virtual HRESULT DisplayFolder(
   LPCTSTR lpszPath 
);
virtual HRESULT DisplayFolder(
   LPAFX_SHELLITEMINFO lpItemInfo 
);

Parameters

  • [in] lpszPath
    A string that contains the path of a folder.

  • [in] lpItemInfo
    A pointer to a LPAFX_SHELLITEMINFO structure that describes a folder to display.

Return Value

S_OK if successful; E_FAIL otherwise.

Requirements

Header: afxshelllistctrl.h

See Also

Reference

CMFCShellListCtrl Class

Hierarchy Chart