Click here to Skip to main content
16,008,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionInterrupt under windows??? Pin
Mr.Freeze28-Oct-01 19:39
Mr.Freeze28-Oct-01 19:39 
AnswerRe: Interrupt under windows??? Pin
Tomasz Sowinski29-Oct-01 1:24
Tomasz Sowinski29-Oct-01 1:24 
GeneralRe: Interrupt under windows??? Pin
Mr.Freeze29-Oct-01 13:30
Mr.Freeze29-Oct-01 13:30 
AnswerRe: Interrupt under windows??? Pin
Mike Nordell29-Oct-01 12:08
Mike Nordell29-Oct-01 12:08 
GeneralRe: Interrupt under windows??? Pin
Mr.Freeze29-Oct-01 13:39
Mr.Freeze29-Oct-01 13:39 
GeneralRe: Interrupt under windows??? Pin
Mike Nordell29-Oct-01 14:50
Mike Nordell29-Oct-01 14:50 
AnswerRe: Interrupt under windows??? Pin
Rassman30-Oct-01 5:10
Rassman30-Oct-01 5:10 
GeneralProgram saving state at system shutdown Pin
Jason Hooper28-Oct-01 18:10
Jason Hooper28-Oct-01 18:10 
Good afternoon or whatever..

I have a project going here, trying to learn the ins and outs of MFC and Visual C++. When I close my app, I can code state saving routines in the function I derive from CDocument::OnCloseDocument() and they seem to get called. What gets called when my program is running when the user goes to Shutdown and Windows shuts down? It doesn't seem to be OnCloseDocument.

In more specific terms.. I have a program sitting in the tray that will often be forgotten about and I want it to be able to save its state when the user shuts off his computer.

Thanks!

Suspicious | :suss:

-Jason

GeneralRe: Program saving state at system shutdown Pin
Nish Nishant28-Oct-01 19:41
sitebuilderNish Nishant28-Oct-01 19:41 
GeneralRe: Program saving state at system shutdown Pin
Tomasz Sowinski29-Oct-01 1:35
Tomasz Sowinski29-Oct-01 1:35 
GeneralToolbar Style Pin
Steve L.28-Oct-01 14:50
Steve L.28-Oct-01 14:50 
GeneralRe: Toolbar Style Pin
Christian Graus28-Oct-01 15:27
protectorChristian Graus28-Oct-01 15:27 
GeneralRe: Toolbar Style Pin
Tomasz Sowinski29-Oct-01 1:47
Tomasz Sowinski29-Oct-01 1:47 
QuestionIs there a simple way to save the client area as a .BMP? Pin
28-Oct-01 12:22
suss28-Oct-01 12:22 
AnswerRe: Is there a simple way to save the client area as a .BMP? Pin
Christian Graus28-Oct-01 12:40
protectorChristian Graus28-Oct-01 12:40 
GeneralTrying to draw a grid onto a CView Pin
AJ12328-Oct-01 11:35
AJ12328-Oct-01 11:35 
GeneralRe: Trying to draw a grid onto a CView Pin
Christian Graus28-Oct-01 12:20
protectorChristian Graus28-Oct-01 12:20 
GeneralRe: Trying to draw a grid onto a CView Pin
AJ12329-Oct-01 8:06
AJ12329-Oct-01 8:06 
GeneralRe: Trying to draw a grid onto a CView Pin
Todd Smith28-Oct-01 13:59
Todd Smith28-Oct-01 13:59 
GeneralRe: DIBSections Pin
Chambers28-Oct-01 11:05
Chambers28-Oct-01 11:05 
GeneralRe: DIBSections Pin
Chris Losinger28-Oct-01 11:48
professionalChris Losinger28-Oct-01 11:48 
GeneralRe: DIBSections Pin
Joaquín M López Muñoz28-Oct-01 11:55
Joaquín M López Muñoz28-Oct-01 11:55 
GeneralRe: DIBSections Pin
Christian Graus28-Oct-01 12:06
protectorChristian Graus28-Oct-01 12:06 
GeneralRe: DIBSections Pin
Mike Nordell29-Oct-01 12:19
Mike Nordell29-Oct-01 12:19 
GeneralRe: DIBSections Pin
Christian Graus29-Oct-01 12:51
protectorChristian Graus29-Oct-01 12:51 

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.