Why am I not receiving LBN_SELCHANGE for a list box?

Recently a colleague of mine asked this question, he added a message map entry for LBN_SELCHANGE but still no notification message arrived and also this list box was dynamically created using CListBox::Create function. The reason was that he missed out a style id while creating this window. LBS_NOTIFY should be specified when creating a list […]
Continue reading…