CComboEx.SetItemmethod
Sets the attributes for an item in a ComboBoxEx control.
Syntax
FUNCTION SetItem (BYVAL hComboEx AS HWND, BYREF pCBItem AS COMBOBOXEXITEMW PTR) AS BOOLEAN
FUNCTION SetItem (BYVAL hComboEx AS HWND, BYREF CBItem AS COMBOBOXEXITEMW) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hComboEx | The handle of the ComboBoxEx control. | |
pCBItem | A pointer to a COMBOBOXEXITEM structure that contains the item information to be set. When the message is sent, the mask member of the structure must be set to indicate which attributes are valid and the iItem member must specify the zero-based index of the item to be modified. Setting the iItem member to -1 will modify the item displayed in the edit control. | |
CBItem | A COMBOBOXEXITEM structure that contains the item information to be set. When the message is sent, the mask member of the structure must be set to indicate which attributes are valid and the iItem member must specify the zero-based index of the item to be modified. Setting the iItem member to -1 will modify the item displayed in the edit control. |
Description
Sets the attributes for an item in a ComboBoxEx control.
Reference
- Include file
CCombo.inc - Defined in AfxNova/CCombo.inc:835
- Documented in Windows/WIndows Controls/CCombo Class.md
- Topic: CCombo Class