Click here to Skip to main content
15,917,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Numeric Template Error C2296 Pin
Richard MacCutchan29-Jun-10 1:40
mveRichard MacCutchan29-Jun-10 1:40 
Questionscrolling image using GDI+ under Windows 7 is very slow and flicking Pin
CODEPC27-Jan-10 4:14
CODEPC27-Jan-10 4:14 
AnswerRe: scrolling image using GDI+ under Windows 7 is very slow and flicking Pin
LunaticFringe27-Jan-10 11:08
LunaticFringe27-Jan-10 11:08 
GeneralRe: scrolling image using GDI+ under Windows 7 is very slow and flicking Pin
CODEPC27-Jan-10 12:09
CODEPC27-Jan-10 12:09 
GeneralRe: scrolling image using GDI+ under Windows 7 is very slow and flicking Pin
LunaticFringe27-Jan-10 13:06
LunaticFringe27-Jan-10 13:06 
QuestionClosing a document and leaving the view Pin
maycockt27-Jan-10 3:13
maycockt27-Jan-10 3:13 
AnswerRe: Closing a document and leaving the view Pin
CPallini27-Jan-10 3:30
mveCPallini27-Jan-10 3:30 
GeneralRe: Closing a document and leaving the view [modified] Pin
maycockt27-Jan-10 3:58
maycockt27-Jan-10 3:58 
Hi,

Thanks for that.

I have managed to achieve what I wanted, except for 1 remaining item.

Having succssfully closed the document, and my View has reverted to the original empty View, I find that I can open new files, except for the one that was just closed. I cannot open the file that was previously open until I have viewed a different file.

Is there a flag I need to reset, or function call I need to make so it is possible to open the fiel immediately after it has been closed?

I've managed to overcome that problem now by using the DocTemplate and Removing the document, but I now find that if I use this method, wi have to close my application multiple times dependent on how many times I have closed a document, e.g. close 2 documents and I have to close the application twice (press the application 'X' button twice). Any suggestions?

TIA

Tony

modified on Wednesday, January 27, 2010 10:24 AM

AnswerRe: Closing a document and leaving the view Pin
krmed27-Jan-10 4:37
krmed27-Jan-10 4:37 
GeneralRe: Closing a document and leaving the view Pin
maycockt27-Jan-10 4:48
maycockt27-Jan-10 4:48 
GeneralRe: Closing a document and leaving the view Pin
krmed27-Jan-10 4:53
krmed27-Jan-10 4:53 
GeneralRe: Closing a document and leaving the view Pin
maycockt27-Jan-10 4:58
maycockt27-Jan-10 4:58 
GeneralRe: Closing a document and leaving the view Pin
krmed27-Jan-10 5:05
krmed27-Jan-10 5:05 
GeneralRe: Closing a document and leaving the view Pin
maycockt27-Jan-10 5:14
maycockt27-Jan-10 5:14 
QuestionHow to HTML Email using Simple MAPI Interface Pin
SNArruda27-Jan-10 2:51
SNArruda27-Jan-10 2:51 
AnswerRe: How to HTML Email using Simple MAPI Interface Pin
Rozis27-Jan-10 11:38
Rozis27-Jan-10 11:38 
QuestionCFileDialog doubt Pin
Member 439977127-Jan-10 0:39
Member 439977127-Jan-10 0:39 
AnswerRe: CFileDialog doubt Pin
Roger Stoltz27-Jan-10 0:46
Roger Stoltz27-Jan-10 0:46 
GeneralRe: CFileDialog doubt Pin
Rajesh R Subramanian27-Jan-10 0:48
professionalRajesh R Subramanian27-Jan-10 0:48 
GeneralRe: CFileDialog doubt Pin
Roger Stoltz27-Jan-10 0:55
Roger Stoltz27-Jan-10 0:55 
GeneralRe: CFileDialog doubt Pin
Rajesh R Subramanian27-Jan-10 1:01
professionalRajesh R Subramanian27-Jan-10 1:01 
GeneralRe: CFileDialog doubt Pin
CPallini27-Jan-10 1:45
mveCPallini27-Jan-10 1:45 
GeneralRe: CFileDialog doubt Pin
Rajesh R Subramanian27-Jan-10 4:03
professionalRajesh R Subramanian27-Jan-10 4:03 
AnswerRe: CFileDialog doubt [modified] Pin
CPallini27-Jan-10 0:49
mveCPallini27-Jan-10 0:49 
GeneralRe: CFileDialog doubt Pin
Member 439977127-Jan-10 1:09
Member 439977127-Jan-10 1:09 

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.