Dela via


CVSListBox::EditItem

Starts an edit operation on the text of a list control item.

virtual BOOL EditItem(
   int iIndex 
);

Parameters

  • [in] iIndex
    Zero-based index of a list control item.

Return Value

TRUE if the edit operation starts successfully; otherwise, FALSE.

Remarks

The user starts an edit operation either by double-clicking the label of an item, or by pressing the F2 or SPACEBAR key when an item has the focus.

Requirements

Header: afxvslistbox.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CVSListBox Class