what is the code?

what is the source code for the save confirmation prompt in a typing program?
(i.e. "save before exiting")? And how do i make it open the save box?
You will need to create a question dialog. Usually using the MessageBox() function. Parsing the result from this dialog you can have it execute the code you write to save whatever needs to be saved.
Topic archived. No new replies allowed.