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.

Return valueCommentsadded to or removed from all strings, depending on the valueofwParam.The return value is LB_ERR if an error occurs.This message should be used only with multiple-selection list boxes.This message sets the tab-stop positions in a list box.Parameters wParam Is an integer that specifies the number of tab stops in the listbox.Return valueCommentslParam3.0Is a long pointer to the first member of an array of integerscontaining the tab stop positions in dialog units. (A dialog unitis a horizontal or vertical distance. One horizontal dialog unitis equal to 1/4 of the the current dialog base width unit. Thedialog base units are computed based on the height and widthof the current system font. The GetDialogBaseUnits functionreturns the current dialog base units in pixels.) The tab stopsmust be sorted in increasing order; back tabs are not allowed.The return value is TRUE if all the tabs were set. Otherwise, the returnvalue is FALSE.If wParam is zero and lParam is NULL, the default tab stop is two dialogunits.If wParam is 1, the edit control will have tab stops separated by thedistance specified by lParam.If lParam points to more than a single value, then a tab stop will be set foreach value in lParam, up to the number specified by wParam.To respond to the LB_SETTABSTOPS message, the list box must havebeen created with the LBS_USETABSTOPS style.•IThis message sets the first visible item in a list box to the item identifiedby the index.Parameters wParam Specifies the index of the list-box item.IParamNot used.3.0Chapter 6, Messages directory 637

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

Saved successfully!

Ooh no, something went wrong!