Refreshing dialog 
Author Message
 Refreshing dialog

Dear friends,

I have a check if a data file is opened as shown in the code below. It
works ok, but my problem is that afterwards, instead of staying in the
same dialog and allow me to enter another data file, it proceeds to the
next dialog. How can i refresh the same dialog for a second chance to
enter another file?

 if (!datafile.is_open())  //checks to see if file opens successfully
 {
  MessageBox("The file was not opened.\n Please retry", "Error message",
MB_OK | MB_ICONINFORMATION);
 }

Thanks,
Elias



Sat, 16 Aug 2003 09:37:40 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Refresh Dialog box???

2. Please help on refreshing dialog after error

3. refreshing dialogs

4. Refreshing dialog

5. Please help on refreshing dialog after error

6. Refreshing Dialogs - Urgent

7. Refresh Dialog????

8. Refresh one Dialog after pressing OK in an other dialog

9. Stop Refresh, Add Controls, Continue Refreshing WinForm.

10. How to refresh my dialog box whenever it gets focus after changes in Registry

11. Automatic dialog box refreshing

12. Problem using MFC modal dialog with long animation refresh

 

 
Powered by phpBB® Forum Software