hi,all

In release version CTabCtrl message fails to reach main Dialog.Here is how the message is handled:


ON_NOTIFY(TCN_SELCHANGE, IDC_TAB_LISTS, OnSelchangeTabLists)

.....


void CTestDlg::OnSelchangeTabLists(NMHDR* pNMHDR, LRESULT* pResult)
{

}

It works in debug version, but not in release version. Why does this happen? I have check some other ON_NOTIFY() works, but not for Tab control.