Please run the sample in ..\Microsoft Visual Studio 10.0\Samples\1033\C++\MFC\Visual C++ 2008 Feature Pack\MDITabsDemo.
You can see it works good on a single machine. But if you create a rdp file for it and run it. The dockpane can't be attach to any position for the first time. It will be stopped by mouse up.