13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LB_FINDSTRINGCommentsIf the list box was created with an owner-draw style but without theLBS_HASSTRINGS style, this message returns the index of the itemwhose long value (supplied as the IParam parameter of theLB_ADDSTRING or LB_INSERTSTRING message) matches the valuesupplied as the IParam parameter of LB_FINDSTRING.LB_GETCARETINDEX 3.1This message returns the index of the item that has the focus caret in a listbox. If the list box is a single-selection list box, the item will also beselected. In a multiple-selection list box, the item is not necessarily aselected item.Parameters wParam Is not used.Return valueIParamIs not used.The return value is the list-box item that has the focus caret.The return value is LB_ERR if an error occurs.LB_GETCOUNTThis message returns a count of the items in the list box.Parameters wParam Is not used.Return valueIParamIs not used.The return value is a count of the items in the list box. The return value isLB_ERR if an error occurs.LB_GETCURSELThis message returns the index of the currently selected item, if any.Parameters wParam Is not used.Return valueIParamIs not used.The return value is the index of the currently selected item. It is LB_ERR ifno item is selected or if the list-box type is multiple selection.Chapter 6, Messages directory 629

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!