Skip to content

Latest commit

 

History

History
204 lines (162 loc) · 7.02 KB

ns-commctrl-comboboxexitema.md

File metadata and controls

204 lines (162 loc) · 7.02 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:commctrl.tagCOMBOBOXEXITEMA
COMBOBOXEXITEMA (commctrl.h)
Contains information about an item in a ComboBoxEx control. (ANSI)
*PCOMBOBOXEXITEMA
CBEIF_DI_SETITEM
CBEIF_IMAGE
CBEIF_INDENT
CBEIF_LPARAM
CBEIF_OVERLAY
CBEIF_SELECTEDIMAGE
CBEIF_TEXT
COMBOBOXEXITEM
COMBOBOXEXITEM structure [Windows Controls]
COMBOBOXEXITEMA
COMBOBOXEXITEMW
PCOMBOBOXEXITEM
PCOMBOBOXEXITEM structure pointer [Windows Controls]
_win32_COMBOBOXEXITEM
_win32_COMBOBOXEXITEM_cpp
commctrl/COMBOBOXEXITEM
commctrl/COMBOBOXEXITEMA
commctrl/COMBOBOXEXITEMW
commctrl/PCOMBOBOXEXITEM
controls.COMBOBOXEXITEM
controls._win32_COMBOBOXEXITEM
controls\COMBOBOXEXITEM.htm
Controls
VS|Controls|~\controls\comboex\structures\comboboxexitem.htm
12/05/2018
*PCOMBOBOXEXITEMA, CBEIF_DI_SETITEM, CBEIF_IMAGE, CBEIF_INDENT, CBEIF_LPARAM, CBEIF_OVERLAY, CBEIF_SELECTEDIMAGE, CBEIF_TEXT, COMBOBOXEXITEM, COMBOBOXEXITEM structure [Windows Controls], COMBOBOXEXITEMA, COMBOBOXEXITEMW, PCOMBOBOXEXITEM, PCOMBOBOXEXITEM structure pointer [Windows Controls], _win32_COMBOBOXEXITEM, _win32_COMBOBOXEXITEM_cpp, commctrl/COMBOBOXEXITEM, commctrl/COMBOBOXEXITEMA, commctrl/COMBOBOXEXITEMW, commctrl/PCOMBOBOXEXITEM, controls.COMBOBOXEXITEM, controls._win32_COMBOBOXEXITEM
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
COMBOBOXEXITEMW (Unicode) and COMBOBOXEXITEMA (ANSI)
Windows
COMBOBOXEXITEMA, *PCOMBOBOXEXITEMA
19H1
tagCOMBOBOXEXITEMA
commctrl/tagCOMBOBOXEXITEMA
PCOMBOBOXEXITEMA
commctrl/PCOMBOBOXEXITEMA
COMBOBOXEXITEMA
commctrl/COMBOBOXEXITEMA
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
COMBOBOXEXITEM
COMBOBOXEXITEMA
COMBOBOXEXITEMW

COMBOBOXEXITEMA structure

-description

Contains information about an item in a ComboBoxEx control.

-struct-fields

-field mask

Type: UINT

A set of bit flags that specify attributes of this structure or of an operation that is using this structure. The flags specify members that are valid or must be filled in. This member can be a combination of the following values.

Value Meaning
CBEIF_DI_SETITEM
Set this flag when processing CBEN_GETDISPINFO; the ComboBoxEx control will retain the supplied information and will not request it again.
CBEIF_IMAGE
The iImage member is valid or must be filled in.
CBEIF_INDENT
The iIndent member is valid or must be filled in.
CBEIF_LPARAM
The lParam member is valid or must be filled in.
CBEIF_OVERLAY
The iOverlay member is valid or must be filled in.
CBEIF_SELECTEDIMAGE
The iSelectedImage member is valid or must be filled in.
CBEIF_TEXT
The pszText member is valid or must be filled in.

-field iItem

Type: INT_PTR

The zero-based index of the item.

-field pszText

Type: LPTSTR

A pointer to a character buffer that contains or receives the item's text. If text information is being retrieved, this member must be set to the address of a character buffer that will receive the text. The size of this buffer must also be indicated in cchTextMax. If this member is set to LPSTR_TEXTCALLBACK, the control will request the information by using the CBEN_GETDISPINFO notification codes.

-field cchTextMax

Type: int

The length of pszText, in TCHARs. If text information is being set, this member is ignored.

-field iImage

Type: int

The zero-based index of an image within the image list. The specified image will be displayed for the item when it is not selected. If this member is set to I_IMAGECALLBACK, the control will request the information by using CBEN_GETDISPINFO notification codes.

-field iSelectedImage

Type: int

The zero-based index of an image within the image list. The specified image will be displayed for the item when it is selected. If this member is set to I_IMAGECALLBACK, the control will request the information by using CBEN_GETDISPINFO notification codes.

-field iOverlay

Type: int

The one-based index of an overlay image within the image list. If this member is set to I_IMAGECALLBACK, the control will request the information by using CBEN_GETDISPINFO notification codes.

-field iIndent

Type: int

The number of indent spaces to display for the item. Each indentation equals 10 pixels. If this member is set to I_INDENTCALLBACK, the control will request the information by using CBEN_GETDISPINFO notification codes.

-field lParam

Type: LPARAM

A value specific to the item.

-remarks

Note

The commctrl.h header defines COMBOBOXEXITEM as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.