Click here to Skip to main content
16,007,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CArchive serialisation and operators < > Pin
Ryan Binns21-Mar-03 17:41
Ryan Binns21-Mar-03 17:41 
GeneralFinding Files Pin
Tom Wright21-Mar-03 6:18
Tom Wright21-Mar-03 6:18 
GeneralRe: Finding Files Pin
Ravi Bhavnani21-Mar-03 7:36
professionalRavi Bhavnani21-Mar-03 7:36 
GeneralRe: Finding Files Pin
Tom Wright21-Mar-03 8:26
Tom Wright21-Mar-03 8:26 
GeneralRe: Finding Files Pin
Ravi Bhavnani21-Mar-03 8:39
professionalRavi Bhavnani21-Mar-03 8:39 
GeneralLearning Splitter Windows Pin
Spamdogg21-Mar-03 5:36
Spamdogg21-Mar-03 5:36 
QuestionHow to change the treeview background Pin
blagrang21-Mar-03 5:28
blagrang21-Mar-03 5:28 
GeneralApplication architecture problem Pin
Anonymous21-Mar-03 4:46
Anonymous21-Mar-03 4:46 
I have to develop an application having a not easy
User Interface.
I have to show serveral panels in the MainFrame
(not at the same time) and I have to change the
MainFrame structure according to the panel shown inside
it (in some cases I have to show and manage a splitter,
in other cases I need the whole MainFrame).

How can I solve this problem ?

I've tried to create a MDI application and I have
registered some tamplates as shown in the following
code.

AddDocTemplate(new CMultiDocTemplate(
IDR_LANGUATYPE,
RUNTIME_CLASS(CLanguageProblemsDoc),
RUNTIME_CLASS(CChildFrame), // custom MDI child frame
RUNTIME_CLASS(CLanguageProblemsView)));

// Form Rilevamento dati
AddDocTemplate(new CMultiDocTemplate(
IDR_RILEVAM_DATI,
RUNTIME_CLASS(CLanguageProblemsDoc),
RUNTIME_CLASS(CSplitterFrame),
RUNTIME_CLASS(CRilevamentoDatiView)));


I have made this choice in order to have different
templates to create and show when I want.
(I'm not sure that this is the rigth way to solve my problem).

Now the problem is that I don't know how to select the
appropriate template to create and I don't known how
to switch from a document to the other one (all by code).

Can someone help me ??

Thanks a lot !!!
GeneralModal dialog and EndDialog() Pin
ns21-Mar-03 4:22
ns21-Mar-03 4:22 
GeneralRe: Modal dialog and EndDialog() Pin
Nish Nishant21-Mar-03 4:51
sitebuilderNish Nishant21-Mar-03 4:51 
GeneralThanks Pin
ns21-Mar-03 5:06
ns21-Mar-03 5:06 
GeneralRe: Thanks Pin
jmkhael21-Mar-03 7:16
jmkhael21-Mar-03 7:16 
GeneralRe: Thanks Pin
ns21-Mar-03 7:20
ns21-Mar-03 7:20 
GeneralRe: Thanks Pin
Michael Dunn21-Mar-03 7:46
sitebuilderMichael Dunn21-Mar-03 7:46 
GeneralRe: Thanks Pin
Nish Nishant5-Apr-03 12:35
sitebuilderNish Nishant5-Apr-03 12:35 
GeneralCRichEditCtrl problems with SetOptions Pin
Anonymous21-Mar-03 4:21
Anonymous21-Mar-03 4:21 
GeneralWord Document to Email Pin
scott76921-Mar-03 3:40
scott76921-Mar-03 3:40 
GeneralRe: Word Document to Email Pin
Sergiu21-Mar-03 4:02
Sergiu21-Mar-03 4:02 
GeneralProblems In file Reading Pin
summo21-Mar-03 3:27
summo21-Mar-03 3:27 
GeneralProblem in email sending(MFC) Pin
summo21-Mar-03 3:20
summo21-Mar-03 3:20 
GeneralRe: Problem in email sending(MFC) Pin
valikac21-Mar-03 6:02
valikac21-Mar-03 6:02 
GeneralRe: Problem in email sending(MFC) Pin
summo24-Mar-03 19:16
summo24-Mar-03 19:16 
GeneralRe: Problem in email sending(MFC) Pin
PJ Arends21-Mar-03 7:06
professionalPJ Arends21-Mar-03 7:06 
GeneralRe: Problem in email sending(MFC) Pin
Kamesh24-Mar-03 0:34
Kamesh24-Mar-03 0:34 
Questionadd a new menu in the studio, how?? Pin
schaereran@gmx.net21-Mar-03 2:56
schaereran@gmx.net21-Mar-03 2:56 

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.