please dont rip this site Prev Next

LB_SETSEL Overview  Group

An application sends an LB_SETSEL message to select a string in a multiple-selection list box.

LB_SETSEL 

wParam = (WPARAM) (BOOL) fSelect;   // selection flag 

lParam = (LPARAM) (UINT) index;     // item index 

 

Parameters

fSelect
Value of wParam. Specifies how to set the selection. If the fSelect parameter is TRUE, the string is selected and highlighted; if fSelect is FALSE, the highlight is removed and the string is no longer selected.
index
Value of lParam. Specifies the zero-based index of the string to set. If index is -1, the selection is added to or removed from all strings, depending on the value of fSelect.

Return Values

If an error occurs, the return value is LB_ERR.

Remarks

Use this message only with multiple-selection list boxes.

See Also

LB_GETSEL, LB_SELITEMRANGE


file: /Techref/os/win/api/win32/mess/src/msg11_7.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/24 07:27,
TOP NEW HELP FIND: 
3.16.70.99:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/os/win/api/win32/mess/src/msg11_7.htm"> LB_SETSEL</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .