|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| commdlg.h
| Unicode
| No
| Platform Notes
| None
|
|
|
LBSELCHSTRING
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
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|