Click here to Skip to main content
15,908,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEdit subclass question Pin
Ravi Bhavnani13-Nov-04 23:21
professionalRavi Bhavnani13-Nov-04 23:21 
GeneralCAsyncSocket Question Pin
Rassul Yunussov13-Nov-04 0:01
Rassul Yunussov13-Nov-04 0:01 
Generaltime critical thread Pin
LeeeNN12-Nov-04 20:17
LeeeNN12-Nov-04 20:17 
GeneralRe: time critical thread Pin
Michael Dunn13-Nov-04 5:39
sitebuilderMichael Dunn13-Nov-04 5:39 
GeneralRe: time critical thread Pin
Anonymous13-Nov-04 9:57
Anonymous13-Nov-04 9:57 
GeneralRe: time critical thread Pin
John R. Shaw13-Nov-04 17:49
John R. Shaw13-Nov-04 17:49 
GeneralPostThreadMessage Pin
includeh1012-Nov-04 19:17
includeh1012-Nov-04 19:17 
GeneralRe: PostThreadMessage Pin
peterchen12-Nov-04 19:50
peterchen12-Nov-04 19:50 
Questionemail ? Pin
BaldwinMartin12-Nov-04 18:25
BaldwinMartin12-Nov-04 18:25 
GeneralCTreeCtrl item display limit or multiline Pin
Pakosan12-Nov-04 18:02
Pakosan12-Nov-04 18:02 
GeneralHelp :: can't include afximpl.h in VC++.NET Pin
TooLeeDiN12-Nov-04 17:19
TooLeeDiN12-Nov-04 17:19 
GeneralOpen a specific file in a MFC single document Pin
Iceberg7612-Nov-04 17:05
Iceberg7612-Nov-04 17:05 
GeneralRe: Open a specific file in a MFC single document Pin
pubududilena12-Nov-04 20:36
pubududilena12-Nov-04 20:36 
GeneralRe: Open a specific file in a MFC single document Pin
Iceberg7613-Nov-04 11:29
Iceberg7613-Nov-04 11:29 
QuestionHow to add Picture to Label or Edit Control? Pin
pubududilena12-Nov-04 16:54
pubududilena12-Nov-04 16:54 
QuestionWhat to replace TcpListener? Pin
Link260012-Nov-04 16:53
Link260012-Nov-04 16:53 
QuestionHow to get a the file created or modified date Pin
Anonymous12-Nov-04 14:05
Anonymous12-Nov-04 14:05 
AnswerRe: How to get a the file created or modified date Pin
gamitech13-Nov-04 12:08
gamitech13-Nov-04 12:08 
AnswerRe: How to get a the file created or modified date Pin
Ravi Bhavnani13-Nov-04 23:25
professionalRavi Bhavnani13-Nov-04 23:25 
AnswerRe: How to get a the file created or modified date Pin
Michael Dunn14-Nov-04 5:55
sitebuilderMichael Dunn14-Nov-04 5:55 
GeneralMixerControl Memory Usage Pin
Tharit12-Nov-04 12:23
Tharit12-Nov-04 12:23 
GeneralRetrive RGB value using DIB Pin
faroqtam12-Nov-04 12:08
faroqtam12-Nov-04 12:08 
GeneralRe: Retrive RGB value using DIB Pin
John R. Shaw13-Nov-04 18:36
John R. Shaw13-Nov-04 18:36 
GeneralMutlipe Views Pin
act_x12-Nov-04 10:20
act_x12-Nov-04 10:20 
This is the call in my app's InitInstance
Using the MFC framework how do i specify that multiple views (of different types) be displayed during a File new or file Open


This is the relationship that I have right now
ADoc
AView


I need
BDoc
BView

1)Now if I add code in InitInstance to add a newDocTemplate with each of these combinations , the framework asks me which type I want to open. I want both types to be opened automatically .How do I achieve this ?

2)Now if Needed two view for a single DOC how can I achieve this ? As for example : a bar graph view and a pie chart view of the same data .



GeneralRe: Mutlipe Views Pin
John R. Shaw13-Nov-04 19:13
John R. Shaw13-Nov-04 19:13 

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.