Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUsing IADsNameTranslate in VC++ Pin
AnkurGupta_198114-Jul-05 0:52
AnkurGupta_198114-Jul-05 0:52 
GeneralRe: Using IADsNameTranslate in VC++ Pin
Trollslayer14-Jul-05 7:45
mentorTrollslayer14-Jul-05 7:45 
GeneralRe: Using IADsNameTranslate in VC++ Pin
AnkurGupta_198114-Jul-05 22:23
AnkurGupta_198114-Jul-05 22:23 
GeneralNeed Some help with classes Pin
1a11ous14-Jul-05 0:49
1a11ous14-Jul-05 0:49 
GeneralRe: Need Some help with classes Pin
Halawlaws14-Jul-05 1:18
Halawlaws14-Jul-05 1:18 
GeneralRe: Need Some help with classes Pin
David Crow14-Jul-05 2:44
David Crow14-Jul-05 2:44 
GeneralChange SQL Server startup account to SA Pin
Toms Edison14-Jul-05 0:47
Toms Edison14-Jul-05 0:47 
GeneralMFC splitter window view linkage Pin
Mister Transistor14-Jul-05 0:22
Mister Transistor14-Jul-05 0:22 
Hi,
I'm building an MFC app (not everyone has moved to .NET yet, in fact I have decided to skip .NET and wait for the next framework, due any time now)that has a splitter window with two main panes, left and right. In each pane I have a tab control. The left tab control has a tree control in each tab. The right tab control will have different controls in each tab, depending upon the selection in the left tab control's selected tree and item.

That's all fairly specific, but my question is quite general. What is the best way to cause events in one pane of a splitter (in the case selecting a treeitem) to make things happen in another pane. In a more simple example, how would events in the left view cause changes to the right view?

I ask this because normally views do not know about each other, only about their parent frame. What's the most elegant way to link the views? (NB, I'm not asking what are the tree notification events, I know those).
GeneralRe: MFC splitter window view linkage Pin
Jose Lamas Rios14-Jul-05 3:52
Jose Lamas Rios14-Jul-05 3:52 
GeneralRe: MFC splitter window view linkage Pin
Anonymous15-Jul-05 9:32
Anonymous15-Jul-05 9:32 
GeneralVersion Info Creation Question Pin
Mepho13-Jul-05 23:37
Mepho13-Jul-05 23:37 
GeneralRe: Version Info Creation Question Pin
gx4415-Jul-05 1:15
gx4415-Jul-05 1:15 
GeneralBitmap Resource Loading Pin
gx4413-Jul-05 22:46
gx4413-Jul-05 22:46 
GeneralRe: Bitmap Resource Loading Pin
rocky_pulley14-Jul-05 4:28
rocky_pulley14-Jul-05 4:28 
GeneralRe TO: Rocky Dean Pulley Pin
gx4415-Jul-05 0:58
gx4415-Jul-05 0:58 
GeneralRe: Bitmap Resource Loading Pin
Jose Lamas Rios14-Jul-05 4:58
Jose Lamas Rios14-Jul-05 4:58 
GeneralRe TO: Jose Lamas Rios Pin
gx4415-Jul-05 1:32
gx4415-Jul-05 1:32 
GeneralFOUND SOLUTION TO PROBLEM Pin
gx4415-Jul-05 1:53
gx4415-Jul-05 1:53 
GeneralProgrammer needed Pin
asim khan13-Jul-05 22:26
asim khan13-Jul-05 22:26 
GeneralRe: Programmer needed Pin
Bob Stanneveld13-Jul-05 23:43
Bob Stanneveld13-Jul-05 23:43 
GeneralRe: Programmer needed Pin
ThatsAlok14-Jul-05 5:10
ThatsAlok14-Jul-05 5:10 
GeneralRe: Programmer needed Pin
Bob Stanneveld14-Jul-05 5:26
Bob Stanneveld14-Jul-05 5:26 
Generalwindows nt timestamp format Pin
198876513-Jul-05 22:08
198876513-Jul-05 22:08 
GeneralRe: windows nt timestamp format Pin
Alexander M.,14-Jul-05 2:03
Alexander M.,14-Jul-05 2:03 
GeneralRe: windows nt timestamp format Pin
198876514-Jul-05 14:16
198876514-Jul-05 14:16 

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.