Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Contains combo box status information.
typedef struct tagCOMBOBOXINFO {
DWORD cbSize;
RECT rcItem;
RECT rcButton;
DWORD stateButton;
HWND hwndCombo;
HWND hwndItem;
HWND hwndList;
} COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO;
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 |
---|---|
|
The button exists and is not pressed. |
|
There is no button. |
|
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.
The following example code retrieves information about the combo box specified by the window handle.
COMBOBOXINFO info = { sizeof(COMBOBOXINFO) };
GetComboBoxInfo(hwnd, &info);
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winuser.h (include Windows.h) |
Redistributable | Service Pack 6 |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today