An application sends a CB_GETITEMDATA message to a combo box to retrieve the application-supplied 32-bit value associated with the specified item in the combo box.
CB_GETITEMDATA wParam = (WPARAM) index; // item index lParam = 0; // not used; must be zero
The return value is the 32-bit value associated with the item. If an error occurs, it is CB_ERR.
If the item is in an owner-drawn combo box created without the CBS_HASSTRINGS style, the return value is the 32-bit value contained in the lParam parameter of the CB_ADDSTRING or CB_INSERTSTRING message that added the item to the combo box. If the CBS_HASSTRINGS style was not used, the return value is the lParam parameter contained in a CB_SETITEMDATA message.
CB_ADDSTRING, CB_INSERTSTRING, CB_SETITEMDATA
file: /Techref/os/win/api/win32/mess/src/msg01_22.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/11/8 18:22,
3.14.129.106: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://massmind.ecomorder.com/techref/os/win/api/win32/mess/src/msg01_22.htm"> CB_GETITEMDATA</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.