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

C / C++ / MFC

 
AnswerRe: Changing caption of static control at run time Pin
Andre xxxxxxx2-Feb-06 6:36
Andre xxxxxxx2-Feb-06 6:36 
QuestionStatus bar, Tool bar, invalid handle problem Pin
StelzbocK2-Feb-06 5:30
StelzbocK2-Feb-06 5:30 
AnswerRe: Status bar, Tool bar, invalid handle problem Pin
Iain Clarke, Warrior Programmer2-Feb-06 6:01
Iain Clarke, Warrior Programmer2-Feb-06 6:01 
GeneralRe: Status bar, Tool bar, invalid handle problem Pin
StelzbocK2-Feb-06 6:36
StelzbocK2-Feb-06 6:36 
QuestionLib Files that we use Pin
kanduripavan2-Feb-06 5:25
kanduripavan2-Feb-06 5:25 
AnswerRe: Lib Files that we use Pin
Chris Losinger2-Feb-06 8:28
professionalChris Losinger2-Feb-06 8:28 
QuestionMultiple documents and multiple views for each Pin
Andre xxxxxxx2-Feb-06 5:08
Andre xxxxxxx2-Feb-06 5:08 
AnswerRe: Multiple documents and multiple views for each Pin
Iain Clarke, Warrior Programmer2-Feb-06 5:24
Iain Clarke, Warrior Programmer2-Feb-06 5:24 
ABuenger wrote:
This would also require that always at least one view is open for each document because otherwise it would be unclear which document receives the commands.



Using MFC ( I assume you are...? ), when the last view of a document closes, so does the document. Any commands go first to the active view, then to the document of the active view, then to the frame. So there should be no technical problem.

If you can hide all views of DocTypeX , and show all views of DocTypeY, then I would use two separate top level frames. That was the user has a well understood method of switching between them. Or can tile them next to each other, etc. Unless there is some *really* strong reason not to, I'd make them two separate applications - it'll make your coding simpler too.

Is there some reason for the two doc types living together? Does the data have an associated log file? If so, then maybe a modeless window which shows the log of the currently selected data doc? Your current-log-window can be docked, and the user switches between view / docs.

There are lots of ways to deal with the question, but the answers really depend on the details of what you are doing.

I hope this has given you some thinking ammunition an least!

Iain.
GeneralRe: Multiple documents and multiple views for each Pin
Andre xxxxxxx2-Feb-06 6:11
Andre xxxxxxx2-Feb-06 6:11 
QuestionNetworking Pin
Girish6012-Feb-06 3:13
Girish6012-Feb-06 3:13 
QuestionRe: Networking Pin
David Crow2-Feb-06 4:56
David Crow2-Feb-06 4:56 
QuestionDynamic memory allocation in MFC Pin
Odiee2-Feb-06 1:33
Odiee2-Feb-06 1:33 
AnswerRe: Dynamic memory allocation in MFC Pin
Maximilien2-Feb-06 2:47
Maximilien2-Feb-06 2:47 
QuestionSB_THUMBTRACK in ListCtrl Pin
Nishad S2-Feb-06 0:21
Nishad S2-Feb-06 0:21 
AnswerRe: SB_THUMBTRACK in ListCtrl Pin
Jagadeesh VN2-Feb-06 0:51
Jagadeesh VN2-Feb-06 0:51 
GeneralRe: SB_THUMBTRACK in ListCtrl Pin
Nishad S2-Feb-06 1:01
Nishad S2-Feb-06 1:01 
QuestionRe: SB_THUMBTRACK in ListCtrl Pin
David Crow2-Feb-06 4:59
David Crow2-Feb-06 4:59 
AnswerRe: SB_THUMBTRACK in ListCtrl Pin
PJ Arends2-Feb-06 6:53
professionalPJ Arends2-Feb-06 6:53 
GeneralRe: SB_THUMBTRACK in ListCtrl Pin
Nishad S2-Feb-06 16:56
Nishad S2-Feb-06 16:56 
QuestionProblem in compiling in debug mode with msxml2.lib Pin
kanduripavan2-Feb-06 0:10
kanduripavan2-Feb-06 0:10 
AnswerRe: Problem in compiling in debug mode with msxml2.lib Pin
Taka Muraoka2-Feb-06 1:34
Taka Muraoka2-Feb-06 1:34 
QuestionRtlFreeHeap Problem in dll Pin
amujim1-Feb-06 23:55
amujim1-Feb-06 23:55 
AnswerRe: RtlFreeHeap Problem in dll Pin
geo_m2-Feb-06 2:23
geo_m2-Feb-06 2:23 
GeneralRe: RtlFreeHeap Problem in dll Pin
amujim2-Feb-06 7:57
amujim2-Feb-06 7:57 
Questionrand() Function Pin
Uzma Waheed1-Feb-06 23:51
Uzma Waheed1-Feb-06 23:51 

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.