The CBN_CLOSEUP notification message is sent when the list box of a combo box has been closed. The parent window of the combo box receives this notification message through the WM_COMMAND message.
CBN_CLOSEUP idComboBox = (int) LOWORD(wParam); // identifier of combo box hwndComboBox = (HWND) lParam; // handle of combo box
This notification message is not sent to a combo box that has the CBS_SIMPLE style.
In general, you cannot predict the order in which notifications will be sent. In particular, a CBN_SELCHANGE notification message may occur either before or after a CBN_CLOSEUP notification message.
CBN_DROPDOWN, CBN_SELCHANGE, WM_COMMAND
|file: /Techref/os/win/api/win32/mess/src/msg02_14.htm, 1KB, , updated: 2000/4/7 12:19, local time: 2023/9/27 05:01,
|©2023 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.sxlist.com/techref/os/win/api/win32/mess/src/msg02_14.htm"> CBN_CLOSEUP</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!