What causes LBN_SELCANCEL?

I am trying to understand a notification in the form of a list of LBN_SELCANCEL. MSDN says: "Notifies the application that the user has unselected the list." Ok, but how exactly did the user "cancel the notification"? I have LBS_NOTIFY set, and I tried to select another item by clicking outside the list, clicking another window, and not one of them calls LBN_SELCANCEL.

Does anyone know what specifically triggers this notification?

+3
source share
1 answer

I believe that LBN_SELCANCEL only applies to ComboBox controls, as they also use lists. It should be called up when you open the falling slope above the item, then press ESC.

+1
source

Source: https://habr.com/ru/post/1791825/


All Articles