SelectString(after, string)

Searches for a list-box item that matches the specified string, and selects it.


after : int

Contains the zero-based index of the item before the first item to be searched, or -1 for the entire listbox.

string : string

The string to search for.

MFC References


Return Value

The return value is always None - an exception is raised if the string can not be located.