|
-
August 4th, 2005, 04:17 PM
#1
MDI Suppress Prompt To Save When Closing View
In my MDI application when I close one of the Child MDI windows, I am prompted if I want to save or not. In this situation I have no desire to save the contents, I just want it to close without prompting.
I overrode CDocument:: DoSave in the document derived class to do nothing, so it doesn't try to save it anymore but I am still bothered by the prompt to save the document. How can I remove the prompt ?
What I am after is no prompt to save, just the MDI child politely closing.
EDIT: Nevermind, I figured it out, it was SaveModified() that needed to be overridden.
Thanks Anyway!
Last edited by Mutilated1; August 4th, 2005 at 04:22 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|