|
-
July 12th, 1999, 11:49 PM
#1
Closing the MainWindo
Hi All,
Whenever I press the MainWindow Close button without closing its subsequent child windows,the child windows should be closed with 'Save yes/No' confirmation......
How can I achieve this.....Could u pls help me....
Thanks In Advance.......
Best Regs
umar
-
July 13th, 1999, 12:36 AM
#2
Re: Closing the MainWindo
In your message handler for the main window close call
if (!SaveAllModified())
return;
CloseAllDocuments(FALSE);
Whenever you modify your document set the modified flag to TRUE. The framework then calls your document SaveModyfied() method.
Timo
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
|