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);
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. |
No return value.
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.
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,
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? <A HREF="http://linistepper.com/Techref/os/win/api/win32/mess/src/msg11_16.htm"> LBSELCHSTRING</A> |
Did you find what you needed? |