please dont rip this site Prev Next

LBSELCHSTRING Overview  Group

An Open or Save As dialog box sends the LBSELCHSTRING registered message to your hook procedure when the selection changes in any of the list boxes or combo boxes of the dialog box.

For Explorer-style Open and Save As dialog boxes, this message has been superseded by the CDN_SELCHANGE and CDN_TYPECHANGE messages.

MessageID = RegisterWindowMessage(LBSELCHSTRING);
idListBox = (UINT) wParam;
iItem = LOWORD (lParam);
iType = HIWORD (lParam);  

Parameters

idListBox
Identifier of the list box or combo box in which the selection changed.
iItem
Item number of the selected string in the list box or combo box.
iType
Type of selection change. This parameter can be one of the following values:

CD_LBSELCHANGE

The item identified by iItem is the only item selected in a single-selection list box.

CD_LBSELADD

The item identified by iItem is one of the items selected in a multiple-selection list box.

CD_LBSELSUB

The item identified by iItem is no longer selected in a multiple-selection list box.

CD_LBSELNOITEMS

No items exist in a multiple-selection list box.

Return Values

No return value.

Remarks

The hook procedure must specify the LBSELCHSTRING constant in a call to the RegisterWindowMessage function to get the identifier for the message sent by the dialog box.

See Also

CDN_SELCHANGE, CDN_TYPECHANGE, RegisterWindowMessage 


file: /Techref/os/win/api/win32/mess/src/msg11_16.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/12 12:23,
TOP NEW HELP FIND: 
18.119.255.85:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©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://linistepper.com/Techref/os/win/api/win32/mess/src/msg11_16.htm"> LBSELCHSTRING</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?