Delen via


CDocList::SetSelection

Selects an item by index.

BOOL SetSelection(
int wItem );

Parameters

The following table describes the parameter for the SetSelection method of the CDocList Class.

Parameter

Description

wItem

The index number for the item.

Return Values

true if successful; 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