COMBOBOXINFO structure
Contains combo box status information.
Syntax
typedef struct tagCOMBOBOXINFO { DWORD cbSize; RECT rcItem; RECT rcButton; DWORD stateButton; HWND hwndCombo; HWND hwndItem; HWND hwndList; } COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO;
Members
- cbSize
-
Type: DWORD
-
The size, in bytes, of the structure. The calling application must set this to sizeof(COMBOBOXINFO).
- rcItem
-
Type: RECT
-
A RECT structure that specifies the coordinates of the edit box.
- rcButton
-
Type: RECT
-
A RECT structure that specifies the coordinates of the button that contains the drop-down arrow.
- stateButton
-
Type: DWORD
-
The combo box button state. This parameter can be one of the following values.
Value Meaning - 0
The button exists and is not pressed.
- STATE_SYSTEM_INVISIBLE
There is no button.
- STATE_SYSTEM_PRESSED
The button is pressed.
- hwndCombo
-
Type: HWND
-
A handle to the combo box.
- hwndItem
-
Type: HWND
-
A handle to the edit box.
- hwndList
-
Type: HWND
-
A handle to the drop-down list.
Remarks
The following example code retrieves information about the combo box specified by the window handle.
COMBOBOXINFO info = { sizeof(COMBOBOXINFO) };
GetComboBoxInfo(hwnd, &info);
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Redistributable | Service Pack 6 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 10/27/2012