Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试了解列表框通知 LBN_SELCANCEL。MSDN 说“通知应用程序用户已取消列表框中的选择。” 好的,但是用户究竟是如何“取消通知”的呢?我已经设置了 LBS_NOTIFY,我尝试选择另一个项目,单击列表框外部,单击另一个窗口,但这些都不会触发 LBN_SELCANCEL。
任何人都知道具体触发此通知的原因是什么?
我相信 LBN_SELCANCEL 仅适用于 ComboBox 控件,因为它们也使用列表。当您打开下拉鼠标悬停在元素上然后按 ESC 时,应该调用它。