Click here to Skip to main content
15,880,796 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 ------------------------
QuestionHow to use message queue in CCmdTarget Derived class? Pin
dehseth1-Oct-09 23:33
dehseth1-Oct-09 23:33 
QuestionHow to know which particular user has fired log-off? Pin
Kushagra Tiwari1-Oct-09 20:57
Kushagra Tiwari1-Oct-09 20:57 
QuestionRe: How to know which particular user has fired log-off? Pin
David Crow2-Oct-09 2:27
David Crow2-Oct-09 2:27 
AnswerRe: How to know which particular user has fired log-off? Pin
Kushagra Tiwari2-Oct-09 2:49
Kushagra Tiwari2-Oct-09 2:49 
QuestionSTL:: MAP<char> Data Structure Used</char> Pin
Anil Kumar.Arvapalli1-Oct-09 16:33
Anil Kumar.Arvapalli1-Oct-09 16:33 
AnswerRe: STL:: MAP Data Structure Used Pin
theCPkid1-Oct-09 16:55
theCPkid1-Oct-09 16:55 
AnswerRe: STL:: MAP Data Structure Used Pin
TimothyPMoore1-Oct-09 17:18
TimothyPMoore1-Oct-09 17:18 
AnswerRe: STL:: MAP Data Structure Used Pin
Stuart Dootson1-Oct-09 22:25
professionalStuart Dootson1-Oct-09 22:25 
AnswerRe: STL:: MAP Data Structure Used Pin
Stephen Hewitt2-Oct-09 2:42
Stephen Hewitt2-Oct-09 2:42 
QuestionFull Screen videa and Splash Screen confliction Pin
ScotDolan1-Oct-09 10:17
ScotDolan1-Oct-09 10:17 
AnswerRe: Full Screen videa and Splash Screen confliction Pin
theCPkid1-Oct-09 17:05
theCPkid1-Oct-09 17:05 
GeneralRe: Full Screen videa and Splash Screen confliction Pin
ScotDolan2-Oct-09 9:58
ScotDolan2-Oct-09 9:58 
Questionvc++ list problem Pin
Nikz21-Oct-09 6:51
Nikz21-Oct-09 6:51 
AnswerRe: vc++ list problem Pin
CPallini1-Oct-09 7:10
mveCPallini1-Oct-09 7:10 
GeneralRe: vc++ list problem Pin
jeron11-Oct-09 7:17
jeron11-Oct-09 7:17 
GeneralRe: vc++ list problem Pin
Nikz21-Oct-09 7:20
Nikz21-Oct-09 7:20 
AnswerRe: vc++ list problem Pin
Richard MacCutchan1-Oct-09 7:27
mveRichard MacCutchan1-Oct-09 7:27 

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.