Share via


CDocList Methods

The following are the methods of the CDocList Class, which wraps the operating system implementation of the DocList window type.

CDocList::CDocList

Constructs a CDocList object.

CDocList::Create

Creates and initializes the list associated with the CDocList object.

CDocList::DeleteSelection

Deletes selected items.

CDocList::DisableUpdate

Disables updating of CDocList.

CDocList::EnableUpdate

Enables updating of CDocList.

CDocList::GetFilterIndex

Gets current file filter selection, for example, for setting the current filter for a combo box.

CDocList::GetItemCount

Gets a count of items.

CDocList::GetNextItem

Gets the next item in CDocList.

CDocList::GetNextWaveFile

Selects the next .wav file.

CDocList::GetPrevWaveFile

Selects the previous .wav file.

CDocList::GetSelectCount

Gets the number of items selected.

CDocList::GetSelectedPathname

Gets the path associated with the selected item.

CDocList::ReceiveIR

Receives infrared signals.

CDocList::Refresh

Refreshes CDocList.

CDocList::RenameMoveSelectedItems

Displays the Rename/Move dialog box for selected items.

CDocList::SelectItem

Selects the item associated with the path.

CDocList::SendEMail

Sends e-mail.

CDocList::SendIR

Sends infrared signals.

CDocList::SetFilterIndex

Indicates file filter has been changed; for example, user has changed settings in an Options dialog box.

CDocList::SetFolder

Sets a folder.

CDocList::SetItemState

Changes the state of an item in CDocList.

CDocList::SetSelectedPathname

Causes the item associated with the path to be selected during the next refresh.

CDocList::SetSelection

Selects an item by index.

CDocList::SetSortOrder

Sorts CDocList.

CDocList::Update

Refreshes CDocList but does not restore the selection.

CCeDocList class has become CDocList Class in MFC 8.0. The following is code from an MFC 3.0 application:

CCommandBar* pDocListCB = pDocList->GetCommandBar();

This code generates the following error:

MainFrm.cpp(115) : error C2039: 'GetCommandBar' : is not a member of 'CDocList'

In MFC 8.0, create an instance of CDocListCommandBar instead.

See Also

Reference

CDocList Class

Other Resources

Unique MFC for Devices Classes