如果使用所有者绘制的样式创建组合框,但没有 CBS_HASSTRINGS 样式, 则CB_FINDSTRINGEXACT 消息的功能取决于应用程序是否使用 CBS_SORT 样式。 如果使用 CBS_SORT 样式, WM_COMPAREITEM 消息将发送给组合框的所有者,以确定哪个项与指定的字符串匹配。 如果不使用 CBS_SORT 样式, CB_FINDSTRINGEXACT 消息将搜索与 ...
CB_FINDSTRINGEXACT wParam = (WPARAM) indexStart; lParam = (LPARAM)(LPCSTR) lpszFind; Parameters indexStart Specifies the zero-based index of the item preceding 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 ba...
You can not make the call SendMessage(CB_FINDSTRINGEXACT) to another process.If you create the combo box with an owner-drawn style but without the CBS_HASSTRINGS style, the CB_FINDSTRINGEXACT message searches for a list item that matches the value of the lpszFind parameter....
如果使用CBS_SORT样式,WM_COMPAREITEM消息将发送给组合框的所有者,以确定哪个项与指定的字符串匹配。 如果不使用CBS_SORT样式,CB_FINDSTRINGEXACT消息将搜索与lParam参数的值匹配的列表项。 要求 要求值 最低受支持的客户端 Windows Vista [仅限桌面应用] ...
CB_FINDSTRINGEXACT發行項 2006/06/30 This message is sent by an application to find the first list box string in a combo box that matches the string specified in the lpszFind parameter.複製 CB_FINDSTRINGEXACT wParam = (WPARAM) indexStart; lParam = (LPARAM)(LPCSTR) lpszFind; ...
CB_ERR indicates an unsuccessful search.RemarksThis message does not work across processes. You cannot make the call SendMessage(CB_FINDSTRINGEXACT) to another process.If you create the combo box with an owner-drawn style but without the CBS_HASSTRINGS style, the CB_FINDSTRINGEXACT message ...
CB_FINDSTRINGEXACT wParam = (WPARAM) indexStart; lParam = (LPARAM)(LPCSTR) lpszFind; ParametersindexStart Specifies the zero-based index of the item preceding 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...
CB_ERR indicates an unsuccessful search.RemarksThis message does not work across processes. You cannot make the call SendMessage(CB_FINDSTRINGEXACT) to another process.If you create the combo box with an owner-drawn style but without the CBS_HASSTRINGS style, the CB_FINDSTRINGEXACT message ...
CB_ERR indicates an unsuccessful search.RemarksThis message does not work across processes. You cannot make the call SendMessage(CB_FINDSTRINGEXACT) to another process.If you create the combo box with an owner-drawn style but without the CBS_HASSTRINGS style, the CB_FINDSTRINGEXACT message ...
CB_ERR indicates an unsuccessful search.RemarksThis message does not work across processes. You cannot make the call SendMessage(CB_FINDSTRINGEXACT) to another process.If you create the combo box with an owner-drawn style but without the CBS_HASSTRINGS style, the CB_FINDSTRINGEXACT message ...