Click to See Complete Forum and Search --> : MessageBox with "Yes to All" Button.


Franky Braem
April 14th, 1999, 02:40 AM
Hi,

I have an MDI application. My document class manages a projectfile. In that projectfile the user can change files, add files, etc...

Now when the user closes the document I want to ask him if he want to save the files he has changed. In many applications I saw a MessageBox with the "Yes to All" button. I want to use this, so that the user doesn't have to answer for each file.I have checked the Message-box Types but I can't find one for this button.

Do I have to create my own MessageBox or is there someone who knows a solution for this ?

Alvaro
April 14th, 1999, 11:34 AM
I've also been searching for something like this.

I've contemplated implementing it myself but I haven't found time to devote to it. Let's hope somebody has...

Alvaro

Masaaki
April 14th, 1999, 11:56 AM
Hi.

I often posted my approaches of how to change the button caption and
add the checkbox on message box.
Simply saying, my method is that as soon as the message box shows up and my code add check box, we watch the message box having it.
I use both timer and worker thread.
But timer method is easy to wirte the code.
Anyway, we can add "Yes to All" button at run time.
Also, msgcolor by C code from MS simple code seems to deal with it.
However, anyone never shows the improved code.

Hope for help.
-Masaaki Onishi-