- User selects a new value in a CComboBox.
- The function OnCbnSelchangeXXX() is called.
Is there a way for me to cancel the change of values in the CComboBox in the function? Under some conditions the change should be cancelled, the CComboBox keeps the old value and the user is presented with an error message.