The CBN_SELENDOK notification message is sent when the user selects an
item and then either presses the ENTER key or clicks the DOWN ARROW key to
hide the list box of a combo box. This notification message is sent before the CBN_CLOSEUP notification message to indicate that the user's selection should be considered valid.
wParam
Specifies the identifier of the combo box.
lParam
Specifies the handle of the combo box in the low-order word, and specifies the CBN_SELENDOK notification message in the high-order word.
The CBN_SELENDOK or CBN_SELENDCANCEL notification message is sent even if the CBN_CLOSEUP notification message is not sent (as in the case of a combo box with the CBS_SIMPLE style).