Click here to Skip to main content
15,499,723 members
Home / Discussions / C / C++ / MFC

C / C++ / MFC

AnswerRe: Gantt chart Pin
ThatsAlok13-Jun-11 21:51
MemberThatsAlok13-Jun-11 21:51 
GeneralRe: Gantt chart Pin
Jokcy17-Jun-11 3:58
MemberJokcy17-Jun-11 3:58 
Question[Win32]Scroll bitmap Pin
Member 296547110-Jun-11 13:47
MemberMember 296547110-Jun-11 13:47 
AnswerRe: [Win32]Scroll bitmap Pin
Mark Salsbery10-Jun-11 17:44
MemberMark Salsbery10-Jun-11 17:44 
Question[Win32] Threads communication Pin
Member 296547110-Jun-11 13:45
MemberMember 296547110-Jun-11 13:45 
AnswerRe: [Win32] Threads communication Pin
Albert Holguin10-Jun-11 14:31
professionalAlbert Holguin10-Jun-11 14:31 
AnswerRe: [Win32] Threads communication Pin
lijiantao11-Jun-11 6:32
Memberlijiantao11-Jun-11 6:32 
QuestionMFC Multiple document types in SDI application Pin
Mattias G10-Jun-11 1:55
MemberMattias G10-Jun-11 1:55 
Hi all,

I'm using multiple document types (e.g. *.txt, *.xml) in a SDI type application, with two CSingleDocTemplate objects that handles two different file formats. The view class is the same for both document templates. However, when opening a file of the type that isn't currently open, MFC creates a new top level frame instead of disposing of the old view. This happens in CSingleDocTemplate::OpenDocumentFile, but I'm not that happy about overriding stuff about the view/doc logic of MFC.

What I want is to keep the same frame for both document types, but from what I can read in the MFC source, the framework isn't really designed for that behaviour.

Anyone with some experience of this?
QuestionDebugging application minidump using windbg Pin
Prasann Mayekar10-Jun-11 0:04
MemberPrasann Mayekar10-Jun-11 0:04 
AnswerRe: Debugging application minidump using windbg Pin
Sarath C10-Jun-11 3:27
MemberSarath C10-Jun-11 3:27 
QuestionC++ expression evaluation. Pin
Sameerkumar Namdeo9-Jun-11 23:57
MemberSameerkumar Namdeo9-Jun-11 23:57 
AnswerRe: C++ expression evaluation. Pin
CPallini10-Jun-11 1:25
mveCPallini10-Jun-11 1:25 
AnswerRe: C++ expression evaluation. Pin
Luc Pattyn10-Jun-11 2:03
sitebuilderLuc Pattyn10-Jun-11 2:03 
AnswerRe: C++ expression evaluation. Pin
Sameerkumar Namdeo12-Jun-11 21:39
MemberSameerkumar Namdeo12-Jun-11 21:39 
AnswerRe: C++ expression evaluation. Pin
Niklas L12-Jun-11 22:26
MemberNiklas L12-Jun-11 22:26 
Questioninternationalisation Pin
Kyudos9-Jun-11 13:52
MemberKyudos9-Jun-11 13:52 
AnswerRe: internationalisation Pin
Sameerkumar Namdeo10-Jun-11 0:08
MemberSameerkumar Namdeo10-Jun-11 0:08 
GeneralRe: internationalisation Pin
Mattias G10-Jun-11 0:26
MemberMattias G10-Jun-11 0:26 
GeneralRe: internationalisation Pin
Kyudos12-Jun-11 11:56
MemberKyudos12-Jun-11 11:56 
AnswerRe: internationalisation Pin
jschell10-Jun-11 13:47
Memberjschell10-Jun-11 13:47 
AnswerRe: internationalisation Pin
Abhi Lahare13-Jun-11 7:49
MemberAbhi Lahare13-Jun-11 7:49 
GeneralRe: internationalisation Pin
Kyudos14-Jun-11 11:50
MemberKyudos14-Jun-11 11:50 
GeneralRe: internationalisation Pin
Abhi Lahare14-Jun-11 12:29
MemberAbhi Lahare14-Jun-11 12:29 
QuestionWant to find Rightmost top point from the CPoint List Pin
Abhijit_Satpute9-Jun-11 9:27
MemberAbhijit_Satpute9-Jun-11 9:27 
AnswerRe: Want to find Rightmost top point from the CPoint List Pin
MicroVirus9-Jun-11 11:03
MemberMicroVirus9-Jun-11 11:03 

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.