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 11:19, local time: 2024/12/1 20:49,
3.145.106.7:LOG IN
|
©2024 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://techref.massmind.org/Techref/os/win/api/win32/mess/src/msg02_14.htm"> CBN_CLOSEUP</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.