When should a window store its position and state?
Obviously:
OnOK
OnClose
But, what about OnCancel
? If the user cancels the dialog what is the standard? Should it still remember the window position? Is there guidance on this?
If this question is going to invoke personal opinions then I will close it. I am specifically interested in knowing if there is a guideline on this matter. At the moment I am not saving window positions when cancel is pressed.