13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LB_SETCARETINDEXReturn valueCommentsIParamIs not used.The return value is LB_ERR if an error occurs.This message must be used with list boxes that are multiple-selection typeonly.LB_SETCOLUMNWIDTH 3.0This message is sent to a multicolumn list box created with theLBS_MULTICOLUMN style to set the width in pixels of all columns in thelist box.Parameters wParam Specifies the width in pixels of all columns.IParamIs not used.This message selects a string and scrolls it into view, if necessary. Whenthe new string is selected, the list box removes the highlight from thepreviously selected string.Parameters wParam Contains the index of the string that is selected. If wParam is -1,the list box is set to have no selection.Return valueCommentsIParamIs not used.The return value is LB _ERR if an error occurs.This message should be used only with single-selection list boxes. Itcannot be used to set or remove a selection in a multiple-selection list box.LB_SETHORIZONTALEXTENT 3.0This message sets the width in pixels by which a list box can be scrolledhorizontally. If the size of the list box is smaller than this value, thehorizontal scroll bar will horizontally scroll items in the list box. If the listbox is as large or larger than this value, the horizontal scroll bar isdisabled.Parameters wParam Specifies the number of pixels by which the list box can bescrolled.IParamIs not used.Chapter 6, Messages directory 635

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

Saved successfully!

Ooh no, something went wrong!