CComboBox::FindString 在组合框的列表框中查找包含指定前缀的第一个字符串。 CComboBox::FindStringExact 查找(组合框中)与指定字符串匹配的第一个列表框字符串。 CComboBox::GetComboBoxInfo 检索有关 CComboBox 对象的信息。 CComboBox::GetCount 检索组合框的列表框中的项数。 CComboBox::GetCueBanner 获取为组合框...
int FindString( int nStartAfter, LPCTSTR lpszString ) const; 参数nStartAfter 在要搜索的第一项之前包含项的从零开始的索引。 在搜索到达列表框的底部时,它从列表框的顶部继续回 nStartAfter指定的项。 如果– 1,整个列表框从开始处搜索。 lpszString 指向包含标题搜索的Null终止的字符串。 搜索区分大小写的...
int FindStringExact( int nIndexStart, LPCTSTR lpszFind ) const; Parameters nIndexStart Specifies the zero-based index of the item before the first item to be searched. When the search reaches the bottom of the list box, it continues from the top of the list box back to the item specifie...
CComboBox::DeleteString//删除nIndex行 int DeleteString( UINT nIndex ); CComboBox::InsertString//在nIndex行后,插入行 int InsertString( int nIndex, LPCTSTR lpszString ); CComboBox::SelectString//可以选中包含指定字符串的行 int SelectString( int nStartAfter, LPCTSTR lpszString ); CComboBox::FindStr...
CComboBox::FindStringExact Finds the first list-box string (in a combo box) that matches the specified string. CComboBox::GetComboBoxInfo Retrieves information about the CComboBox object. CComboBox::GetCount Retrieves the number of items in the list box of a combo box. CComboBox::GetCueBanner...
CComboBox::FindStringExact 查找第一个列表框字符串(在组合框)。与指定字符串。 CComboBox::GetComboBoxInfo 检索有关CComboBox对象的信息。 CComboBox::GetCount 检索项的数目在组合框的列表框中。 CComboBox::GetCueBanner 获取的组合框控件中显示的提示文本。
FindString( int nStartAfter, LPCTSTR lpszItem )//可以在当前所有行中查找指定的字符传的位置,nStartAfter指明从那一行开始进行查找。 int SelectString( int nStartAfter, LPCTSTR lpszItem )//可以选中包含指定字符串的行 二、如何控制Combo Box的下拉长度 ...
CComboBox::FindStringExact Finds the first list-box string (in a combo box) that matches the specified string. CComboBox::GetComboBoxInfo Retrieves information about the CComboBox object. CComboBox::GetCount Retrieves the number of items in the list box of a combo box. CComboBox::GetCueBanner...
CComboBox::FindStringExact Finds the first list-box string (in a combo box) that matches the specified string. CComboBox::GetComboBoxInfo Retrieves information about the CComboBox object. CComboBox::GetCount Retrieves the number of items in the list box of a combo box. CComboBox::GetCueBanner...
CComboBox::FindStringExact Finds the first list-box string (in a combo box) that matches the specified string. CComboBox::GetComboBoxInfo Retrieves information about the CComboBox object. CComboBox::GetCount Retrieves the number of items in the list box of a combo box. CComboBox::GetCueBanner...