Click here to Skip to main content
15,889,604 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC CreateEx function crashes program Pin
ChrisBuckley5-Oct-09 4:24
ChrisBuckley5-Oct-09 4:24 
GeneralRe: MFC CreateEx function crashes program Pin
Tim Craig3-Oct-09 21:58
Tim Craig3-Oct-09 21:58 
GeneralRe: MFC CreateEx function crashes program Pin
ChrisBuckley5-Oct-09 4:59
ChrisBuckley5-Oct-09 4:59 
QuestionDebug Error - Calling a class member function declared in another file Pin
AntoineBab2-Oct-09 3:14
AntoineBab2-Oct-09 3:14 
QuestionRe: Debug Error - Calling a class member function declared in another file Pin
David Crow2-Oct-09 8:56
David Crow2-Oct-09 8:56 
QuestionBackground Colour of TabControl Pin
Deepak.Prahlad2-Oct-09 3:00
Deepak.Prahlad2-Oct-09 3:00 
AnswerRe: Background Colour of TabControl Pin
Deepak.Prahlad6-Nov-09 21:08
Deepak.Prahlad6-Nov-09 21:08 
Questionhow to pass arguments to createproces() function Pin
WindowsVsLinux2-Oct-09 1:26
WindowsVsLinux2-Oct-09 1:26 
AnswerRe: how to pass arguments to createproces() function Pin
CPallini2-Oct-09 1:57
mveCPallini2-Oct-09 1:57 
GeneralRe: how to pass arguments to createproces() function Pin
WindowsVsLinux2-Oct-09 2:34
WindowsVsLinux2-Oct-09 2:34 
GeneralRe: how to pass arguments to createproces() function Pin
Michael Schubert2-Oct-09 2:39
Michael Schubert2-Oct-09 2:39 
GeneralRe: how to pass arguments to createproces() function Pin
WindowsVsLinux2-Oct-09 2:44
WindowsVsLinux2-Oct-09 2:44 
GeneralRe: how to pass arguments to createproces() function Pin
David Crow2-Oct-09 2:50
David Crow2-Oct-09 2:50 
GeneralRe: how to pass arguments to createproces() function Pin
Michael Schubert2-Oct-09 2:52
Michael Schubert2-Oct-09 2:52 
GeneralRe: how to pass arguments to createproces() function Pin
CPallini2-Oct-09 2:44
mveCPallini2-Oct-09 2:44 
QuestionRe: how to pass arguments to createproces() function Pin
David Crow2-Oct-09 2:21
David Crow2-Oct-09 2:21 
AnswerRe: how to pass arguments to createproces() function Pin
Michael Schubert2-Oct-09 2:33
Michael Schubert2-Oct-09 2:33 
GeneralRe: how to pass arguments to createproces() function Pin
Cedric Moonen2-Oct-09 2:51
Cedric Moonen2-Oct-09 2:51 
QuestionCloning Dialogs in VS2005 Pin
Grahamfff2-Oct-09 0:13
Grahamfff2-Oct-09 0:13 
AnswerRe: Cloning Dialogs in VS2005 Pin
Cedric Moonen2-Oct-09 1:00
Cedric Moonen2-Oct-09 1:00 
GeneralRe: Cloning Dialogs in VS2005 Pin
Grahamfff2-Oct-09 1:33
Grahamfff2-Oct-09 1:33 
Questionautomation with excel want to save file Pin
prithaa1-Oct-09 23:54
prithaa1-Oct-09 23:54 
QuestionRe: automation with excel want to save file Pin
David Crow2-Oct-09 2:23
David Crow2-Oct-09 2:23 
AnswerRe: automation with excel want to save file Pin
prithaa2-Oct-09 7:41
prithaa2-Oct-09 7:41 
AnswerRe: automation with excel want to save file Pin
enhzflep2-Oct-09 4:43
enhzflep2-Oct-09 4:43 
Granted, this is vba code - though I'm sure you'll work it out if you've come his far...

---------- 8< ----------------

Sometimes the application displays a messagebox asking if the user wants to continue,
if he/she wants to save a file before closing, or want some other verification from the user.
These messages can be turned off by using this command in a macro :

Application.DisplayAlerts = False
The warningmessages will remain turned off until you enable them again with this command:

Application.DisplayAlerts = True
If you just want to close a workbook without the user being prompted for any confirmations about saving
the workbook you can simply do this:

ActiveWorkbook.Close False ' closes the active workbook without saving any changes

ActiveWorkbook.Close True ' closes the active workbook and saves any changes

--------------------- >8 ------------------------

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.