VC++, MFC中实现visual studio风格界面,怎么传递信息

VC++, MFC中实现visual studio风格界面,如何传递信息?
(visual studio 2013版本)在MFC的visual studio风格界面中,它的FileView浮动窗口是用CDockablepane与Ctreectrl类联合实现的,它的property浮动窗口是CDockablepane与CMFCPropertyGridCtrl类联合实现的。现在我想实现的功能是:
(1)鼠标点击FileView中的一个子项,然后子项的属性就显示在property的浮动窗口中;
(2)点击其他子项,property窗口会换成新选项的属性列表。
这个过程要如何实现呢?请大家给个思路或者实例吧,非常感谢!我是菜鸟,盼望提供的思路能够尽可能详细。
VC++, MFC中实现visual studio风格界面,怎么传递信息
------解决方案--------------------
int CMainFrame::InitFolderPane()
{
        ......
propertyPane.SetProperty(&folderDockablePane.GetSelectedProperty());
        folderDockablePane.RegistrerSelectionChangeNotification(&propertyPane);
return 0;
}