CB_GETEXTENDEDUI

3.1

CB_GETEXTENDEDUI
wParam = 0;     /* not used, must be zero */
lParam = 0L;    /* not used, must be zero */

An application sends a CB_GETEXTENDEDUI message to determine whether a combo box has the default user interface or the extended user interface.

Parameters

This message has no parameters.

Return Value

The return value is nonzero if the combo box has the extended user interface; otherwise, it is zero.

Comments

The extended user interface differs from the default user interface in the following ways:

Clicking the static control displays the list box (CBS_DROPDOWNLIST style only).

Pressing the DOWN ARROW key displays the list box (F4 is disabled).

Scrolling in the static control is disabled when the item list is not visible (arrow keys are disabled).

Example

This example determines whether a combo box has the extended user interface:

BOOL fExtended;

fExtended = (BOOL) SendDlgItemMessage(hdlg, ID_MYCOMBOBOX,
    CB_GETEXTENDEDUI, 0, 0L);

See Also

CB_SETEXTENDEDUI