Click here to Skip to main content
15,914,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: email link Pin
Ben Burnett22-Jun-01 8:24
Ben Burnett22-Jun-01 8:24 
Generaldialog templates in memory for a wizard Pin
giorgos22-Jun-01 4:03
giorgos22-Jun-01 4:03 
GeneralSwitching views in a splitter pane Pin
Malcolm McMahon22-Jun-01 3:24
Malcolm McMahon22-Jun-01 3:24 
GeneralRe: Switching views in a splitter pane Pin
Tomasz Sowinski22-Jun-01 4:13
Tomasz Sowinski22-Jun-01 4:13 
GeneralRe: Switching views in a splitter pane Pin
Malcolm McMahon22-Jun-01 5:12
Malcolm McMahon22-Jun-01 5:12 
GeneralRe: Switching views in a splitter pane Pin
Tomasz Sowinski22-Jun-01 5:16
Tomasz Sowinski22-Jun-01 5:16 
GeneralRe: Switching views in a splitter pane Pin
22-Jun-01 4:22
suss22-Jun-01 4:22 
GeneralRe: Switching views in a splitter pane Pin
Malcolm McMahon22-Jun-01 5:46
Malcolm McMahon22-Jun-01 5:46 
Yes, and it was quite helpfull in clarifying the situation but it doesn't give me the kind of solution I want.

What I really want to do is put an _existing_ view into a pane. To have a small set of view objects and plug in the appropriate one at the appropriate time.

Unfortunately there's no "SetPane" method. This (to my mind) baddly designed CreateView method insists on creating a new view every time it's called. It looks to me like having this CRuntimeClass structure they are so pleased with they just couldn't resist using it. And, AFAIKS, it makes the call far less flexible without simplifying it a jot.

If you wanted to create a new view for a pane it could just as easilly have been done something like

SetPain(0, 1, new CFormView(ID_DLG), ..

Subsequent to posting the query I've tracked down another improved splitter class, which allows several views to be added to the splitter and switched between written by Caroline Englebienne. I'm hopeful that will fill the bill. It still looks like a clumsy work arround for something which could so easilly have been made simple.

GeneralConfusing code Pin
Rejeesh22-Jun-01 2:16
Rejeesh22-Jun-01 2:16 
GeneralRe: Confusing code Pin
Tomasz Sowinski22-Jun-01 2:39
Tomasz Sowinski22-Jun-01 2:39 
GeneralRe: Confusing code Pin
Rejeesh22-Jun-01 5:04
Rejeesh22-Jun-01 5:04 
GeneralCRichEditCtrl onthe Fly Pin
sankar22-Jun-01 1:30
sankar22-Jun-01 1:30 
GeneralRe: CRichEditCtrl onthe Fly Pin
Tomasz Sowinski22-Jun-01 1:58
Tomasz Sowinski22-Jun-01 1:58 
GeneralShowing modeless forms in VB DLLs called from MFC Pin
22-Jun-01 1:17
suss22-Jun-01 1:17 
GeneralDetermination of installed browsers & java engines Pin
22-Jun-01 1:01
suss22-Jun-01 1:01 
GeneralCHtmlView - load html from memory Pin
Kristian Nilssen22-Jun-01 0:47
Kristian Nilssen22-Jun-01 0:47 
GeneralRe: CHtmlView - load html from memory Pin
22-Jun-01 3:56
suss22-Jun-01 3:56 
GeneralRe: CHtmlView - load html from memory Pin
22-Jun-01 11:00
suss22-Jun-01 11:00 
GeneralCapture Screen and save it as a JPEG file Pin
Kiddxin22-Jun-01 0:05
Kiddxin22-Jun-01 0:05 
GeneralRe: Capture Screen and save it as a JPEG file Pin
olivier22-Jun-01 2:08
olivier22-Jun-01 2:08 
QuestionWhich method of CFile write as text to file ??? Pin
21-Jun-01 21:50
suss21-Jun-01 21:50 
AnswerRe: Which method of CFile write as text to file ??? Pin
Michael Dunn21-Jun-01 21:53
sitebuilderMichael Dunn21-Jun-01 21:53 
GeneralThis is my struct: Please show me how to save it to file as text by CFile object Pin
21-Jun-01 22:13
suss21-Jun-01 22:13 
GeneralURGENT !!! HELP !!! PLEASE !!! Pin
21-Jun-01 23:19
suss21-Jun-01 23:19 
GeneralI did write so: Pin
22-Jun-01 4:47
suss22-Jun-01 4:47 

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.