Delen via


CDocList::Create

Creates and initializes the list associated with the CDocList object.

BOOL Create (
CWnd* pParentWnd,
LPCTSTR lpszFilterList,
LPCTSTR lpszFolder,
DWORD dwFlags = DLF_SHOWEXTENSION ) ;

Parameters

The following table describes the parameters for the Create method of the CDocList Class.

Parameter

Description

pParentWnd

Pointer to parent window: required.

lpszFilterList

Pointer to the list of filters, a vertical bar (|) delimited list terminated with a ||\0.

lpszFolder

Pointer to the folder.

dwFlags

DLF_SHOWEXTENSION is the only value permitted in the current version.

Return Values

true if the list is successfully created and displayed; otherwise, false.

Requirements

Windows CE versions 5.0 and later.

Header file: Declared in Afxext.h.

See Also

Reference

CDocList Class

Other Resources

Unique MFC for Devices Classes