共用方式為


CVSListBox::SelectItem

Selects an editable list control string.

virtual BOOL SelectItem(
   int iItem 
);

Parameters

  • [in] iItem
    The zero-based index of an editable list control item.

Return Value

TRUE if this method is successful; otherwise, FALSE.

Remarks

This method selects the specified item, and if it is required, scrolls the item into view.

Requirements

Header: afxvslistbox.h

See Also

Reference

CVSListBox Class

Hierarchy Chart