I have a property sheet with 4 property pages. On one of the pages, there is an edit box whcih does some validation in its KillFocus() method. The problem is that if I put wrong enteries into that edit box and now I want to discard that changes and press Cancel button, It still validates since KillFocus() of edit box is being called when i click on Cancel button. It wont let me quit gracefully unless i feed that edit box with good food !! How do I prevent this ??