http://bugs.winehq.org/show_bug.cgi?id=9155
------- Additional Comments From megajocke@notsohotmail.com 2007-02-08 21:42 ------- More info about SELENDCANCEL: the simple type never sends it (this is probably the same in wine as it is sent in the roll up procedure).
Both dropdown lists do the same weird thing: They only send it if the list is closed by clicking outside instead of releasing mouse button (this is probably more a bug than a feature in Windows) Does Wine send cancel in both cases? It is probably okay or even better if cancel is sent in both cases. It doesn't make much sense that there is a difference...
CBN_SELENDOK and then a CBN_SELCHANGE is sent instead of the cancel if the mouse is released outside in MS Windows, like you selected something but the old selection is not changed.
CBN_SELENDCANCEL is also sent for both of CBS_DROPDOWN or CBS_DROPDOWNLIST when they lose focus.
CBN_SELENDOK is also sent by the CBS_SIMPLE if you press the return key in the edit box, but without any CBN_SELCHANGE...