Article ID: 129428
Article Last Modified on 11/21/2006
int CMyListBox::MySelItemRange (BOOL bSelect,
int nFirstItem,
int nLastItem)
{
ASSERT_VALID(this);
return (int)SendMessage(LB_SELITEMRANGE,
bSelect,
MAKELPARAM(nFirstItem,nLastItem));
}
NOTE: This problem was fixed in Microsoft Visual C++, 32-bit Edition,
version 4.0. The following is from the Visual C++ 4.0 Books On-Line
entry for CListBox::SelItemRange:
Selects multiple consecutive items in a multiple-selection list box.
Use this member function only with multiple-selection list boxes.
If you need to select only one item in a multiple-selection list
box that is, if nFirstIem is equal to nLastItem call the SetSel
member function instead.
Additional query words: 2.00 2.10 3.00 3.10 4.00 noupdate
Keywords: kbbug kbcode kbdocfix kblistbox kbuidesign kbvc400fix KB129428