The MSDN documentation for the SplitContainer controls says:
With the SplitContainer control, you can create complex user interfaces; often, a selection in one panel determines what objects are shown in the other panel.
So, I have a SplitContainer that is split horizontally having top and bottom panels. What I would like to do is -- when a control within Panel1 (on top) receives focus, I need a control within Panel2 (bottom) to be focused. And then the focus must go back to the control in Panel1 again.
The problem is, the control in Panel2 returns false on CanFocus. I understand that for some kind of controls this can happen, and that every ancestor of the control must have focus for it to receive focus. I tried that too, but to no avail. The CanFocus still returns false.
Is there any alternative solution to this? Has anyone tried this. What I am trying to do is essentially the same as what Outlook does. When you select a message in your Inbox. The message body shows up in the bottom panel.