ON_REGISTERED_MESSAGE(AFX_WM_PROPERTY_CHANGED, OnPropertyChanged) 这个回调函数中,不能 用:grid.SetCurSel(NULL); 会崩溃。